Interface NodeInfo

  • All Known Implementing Classes:
    DefaultNodeInfo

    public interface NodeInfo
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCreatedFactHandles()
      Returns the number of infered fact handles created in this node
      long getFactMemorySize()
      Returns the number of facts in the fact memory
      int getId()
      Returns this node ID
      org.drools.core.common.NetworkNode getNode()
      Returns the actual node
      org.drools.core.common.RuleBasePartitionId getPartitionId()
      Returns the partition ID this node belongs to
      java.util.Set<org.drools.core.definitions.rule.impl.RuleImpl> getRules()
      Returns the set of rules this node belongs to
      java.util.Collection<? extends org.drools.core.common.NetworkNode> getSinkList()  
      long getTupleMemorySize()
      Returns the number of tuples in the tuple memory
      boolean isMemoryEnabled()
      Returns true if memory is enabled for this node
    • Method Detail

      • getId

        int getId()
        Returns this node ID
        Returns:
      • getPartitionId

        org.drools.core.common.RuleBasePartitionId getPartitionId()
        Returns the partition ID this node belongs to
        Returns:
      • getRules

        java.util.Set<org.drools.core.definitions.rule.impl.RuleImpl> getRules()
        Returns the set of rules this node belongs to
        Returns:
      • getNode

        org.drools.core.common.NetworkNode getNode()
        Returns the actual node
        Returns:
      • isMemoryEnabled

        boolean isMemoryEnabled()
        Returns true if memory is enabled for this node
        Returns:
      • getTupleMemorySize

        long getTupleMemorySize()
        Returns the number of tuples in the tuple memory
        Returns:
      • getFactMemorySize

        long getFactMemorySize()
        Returns the number of facts in the fact memory
        Returns:
      • getCreatedFactHandles

        long getCreatedFactHandles()
        Returns the number of infered fact handles created in this node
        Returns:
      • getSinkList

        java.util.Collection<? extends org.drools.core.common.NetworkNode> getSinkList()