Package org.drools.core.reteoo
Class AbstractLeftTupleSinkAdapter
- java.lang.Object
-
- org.drools.core.reteoo.AbstractLeftTupleSinkAdapter
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,LeftTupleSinkPropagator
- Direct Known Subclasses:
CompositeLeftTupleSinkAdapter
,EmptyLeftTupleSinkAdapter
,SingleLeftTupleSinkAdapter
public abstract class AbstractLeftTupleSinkAdapter extends java.lang.Object implements LeftTupleSinkPropagator
An abstract super class for the LeftTupleSinkAdapters- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.drools.base.common.RuleBasePartitionId
partitionId
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractLeftTupleSinkAdapter()
protected
AbstractLeftTupleSinkAdapter(org.drools.base.common.RuleBasePartitionId partitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.drools.base.common.RuleBasePartitionId
getPartitionId()
Returns the partition to which this propagator belongs tovoid
readExternal(java.io.ObjectInput in)
void
setPartitionId(org.drools.base.common.RuleBasePartitionId partitionId)
Sets the partition to which this propagator belongs tovoid
writeExternal(java.io.ObjectOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.reteoo.LeftTupleSinkPropagator
getFirstLeftTupleSink, getLastLeftTupleSink, getMatchingNode, getSinks, size
-
-
-
-
Method Detail
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
getPartitionId
public org.drools.base.common.RuleBasePartitionId getPartitionId()
Returns the partition to which this propagator belongs to- Returns:
- the ID of the partition
-
setPartitionId
public void setPartitionId(org.drools.base.common.RuleBasePartitionId partitionId)
Sets the partition to which this propagator belongs to- Parameters:
partitionId
-
-
-