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 long
getCreatedFactHandles()
Returns the number of infered fact handles created in this nodelong
getFactMemorySize()
Returns the number of facts in the fact memoryint
getId()
Returns this node IDNetworkNode
getNode()
Returns the actual nodeRuleBasePartitionId
getPartitionId()
Returns the partition ID this node belongs toSet<RuleImpl>
getRules()
Returns the set of rules this node belongs toCollection<? extends NetworkNode>
getSinkList()
long
getTupleMemorySize()
Returns the number of tuples in the tuple memoryboolean
isMemoryEnabled()
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()
-
-