| Constructor and Description |
|---|
DefaultNodeInfo(NetworkNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(RuleImpl rule) |
long |
getActionQueueSize() |
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<RuleImpl> |
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
|
void |
setActionQueueSize(long size) |
void |
setCreatedFactHandles(long createdFactHandles) |
void |
setFactMemorySize(long rightMemorySize) |
void |
setMemoryEnabled(boolean memoryEnabled) |
void |
setTupleMemorySize(long leftMemorySize) |
public DefaultNodeInfo(NetworkNode node)
public void assign(RuleImpl rule)
public Set<RuleImpl> getRules()
NodeInfopublic int getId()
NodeInfopublic RuleBasePartitionId getPartitionId()
NodeInfogetPartitionId in interface NodeInfopublic long getTupleMemorySize()
NodeInfogetTupleMemorySize in interface NodeInfopublic void setTupleMemorySize(long leftMemorySize)
public long getFactMemorySize()
NodeInfogetFactMemorySize in interface NodeInfopublic void setFactMemorySize(long rightMemorySize)
public long getCreatedFactHandles()
NodeInfogetCreatedFactHandles in interface NodeInfopublic void setCreatedFactHandles(long createdFactHandles)
public long getActionQueueSize()
public void setActionQueueSize(long size)
public NetworkNode getNode()
NodeInfopublic boolean isMemoryEnabled()
NodeInfoisMemoryEnabled in interface NodeInfopublic void setMemoryEnabled(boolean memoryEnabled)
public Collection<? extends NetworkNode> getSinkList()
getSinkList in interface NodeInfoCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.