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()
NodeInfo
public int getId()
NodeInfo
public RuleBasePartitionId getPartitionId()
NodeInfo
getPartitionId
in interface NodeInfo
public long getTupleMemorySize()
NodeInfo
getTupleMemorySize
in interface NodeInfo
public void setTupleMemorySize(long leftMemorySize)
public long getFactMemorySize()
NodeInfo
getFactMemorySize
in interface NodeInfo
public void setFactMemorySize(long rightMemorySize)
public long getCreatedFactHandles()
NodeInfo
getCreatedFactHandles
in interface NodeInfo
public void setCreatedFactHandles(long createdFactHandles)
public long getActionQueueSize()
public void setActionQueueSize(long size)
public NetworkNode getNode()
NodeInfo
public boolean isMemoryEnabled()
NodeInfo
isMemoryEnabled
in interface NodeInfo
public void setMemoryEnabled(boolean memoryEnabled)
public Collection<? extends NetworkNode> getSinkList()
getSinkList
in interface NodeInfo
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.