Package org.drools.core.util.debug
Interface NodeInfo
-
- All Known Implementing Classes:
DefaultNodeInfo
public interface NodeInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCreatedFactHandles()Returns the number of infered fact handles created in this nodelonggetFactMemorySize()Returns the number of facts in the fact memoryintgetId()Returns this node IDNetworkNodegetNode()Returns the actual nodeRuleBasePartitionIdgetPartitionId()Returns the partition ID this node belongs toSet<RuleImpl>getRules()Returns the set of rules this node belongs toCollection<? extends NetworkNode>getSinkList()longgetTupleMemorySize()Returns the number of tuples in the tuple memorybooleanisMemoryEnabled()Returns true if memory is enabled for this node
-
-
-
Method Detail
-
getId
int getId()
Returns this node ID- Returns:
-
getPartitionId
RuleBasePartitionId getPartitionId()
Returns the partition ID this node belongs to- Returns:
-
getNode
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
Collection<? extends NetworkNode> getSinkList()
-
-