org.drools.core.util.debug
Interface NodeInfo

All Known Implementing Classes:
DefaultNodeInfo

public interface NodeInfo


Method Summary
 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
 NetworkNode getNode()
          Returns the actual node
 RuleBasePartitionId getPartitionId()
          Returns the partition ID this node belongs to
 Set<Rule> getRules()
          Returns the set of rules this node belongs to
 Collection<? extends 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

RuleBasePartitionId getPartitionId()
Returns the partition ID this node belongs to

Returns:

getRules

Set<Rule> getRules()
Returns the set of rules 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()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.