org.drools.core.reteoo
Class EmptyObjectSinkAdapter
java.lang.Object
org.drools.core.reteoo.AbstractObjectSinkAdapter
org.drools.core.reteoo.EmptyObjectSinkAdapter
- All Implemented Interfaces:
- Externalizable, Serializable, ObjectSinkPropagator
public class EmptyObjectSinkAdapter
- extends AbstractObjectSinkAdapter
- See Also:
- Serialized Form
|
Method Summary |
void |
byPassModifyToBetaNode(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
doLinkRiaNode(InternalWorkingMemory wm)
|
void |
doUnlinkRiaNode(InternalWorkingMemory wm)
|
boolean |
equals(Object obj)
|
static EmptyObjectSinkAdapter |
getInstance()
|
BaseNode |
getMatchingNode(BaseNode candidate)
|
RuleBasePartitionId |
getPartitionId()
Returns the partition to which this propagator belongs to |
ObjectSink[] |
getSinks()
|
void |
propagateAssertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
propagateModifyObject(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
propagateRetractObject(InternalFactHandle handle,
PropagationContext context,
InternalWorkingMemory workingMemory,
boolean useHash)
|
void |
readExternal(ObjectInput in)
|
int |
size()
|
void |
writeExternal(ObjectOutput out)
|
EmptyObjectSinkAdapter
public EmptyObjectSinkAdapter()
EmptyObjectSinkAdapter
public EmptyObjectSinkAdapter(RuleBasePartitionId partitionId)
getInstance
public static EmptyObjectSinkAdapter getInstance()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class AbstractObjectSinkAdapter
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class AbstractObjectSinkAdapter
- Throws:
IOException
getPartitionId
public RuleBasePartitionId getPartitionId()
- Description copied from class:
AbstractObjectSinkAdapter
- Returns the partition to which this propagator belongs to
- Specified by:
getPartitionId in interface ObjectSinkPropagator- Overrides:
getPartitionId in class AbstractObjectSinkAdapter
- Returns:
- the ID of the partition
propagateAssertObject
public void propagateAssertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory)
propagateRetractObject
public void propagateRetractObject(InternalFactHandle handle,
PropagationContext context,
InternalWorkingMemory workingMemory,
boolean useHash)
propagateModifyObject
public void propagateModifyObject(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
byPassModifyToBetaNode
public void byPassModifyToBetaNode(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
getMatchingNode
public BaseNode getMatchingNode(BaseNode candidate)
getSinks
public ObjectSink[] getSinks()
size
public int size()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
doLinkRiaNode
public void doLinkRiaNode(InternalWorkingMemory wm)
doUnlinkRiaNode
public void doUnlinkRiaNode(InternalWorkingMemory wm)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.