Package org.drools.core.reteoo
Class AbstractLeftTupleSinkAdapter
java.lang.Object
org.drools.core.reteoo.AbstractLeftTupleSinkAdapter
- All Implemented Interfaces:
Externalizable,Serializable,LeftTupleSinkPropagator
- Direct Known Subclasses:
CompositeLeftTupleSinkAdapter,EmptyLeftTupleSinkAdapter,SingleLeftTupleSinkAdapter
public abstract class AbstractLeftTupleSinkAdapter
extends Object
implements LeftTupleSinkPropagator
An abstract super class for the LeftTupleSinkAdapters
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractLeftTupleSinkAdapter(RuleBasePartitionId partitionId) -
Method Summary
Modifier and TypeMethodDescriptionReturns the partition to which this propagator belongs tovoidvoidsetPartitionId(RuleBasePartitionId partitionId) Sets the partition to which this propagator belongs tovoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.core.reteoo.LeftTupleSinkPropagator
getFirstLeftTupleSink, getLastLeftTupleSink, getMatchingNode, getSinks, size
-
Field Details
-
partitionId
-
-
Constructor Details
-
AbstractLeftTupleSinkAdapter
-
AbstractLeftTupleSinkAdapter
protected AbstractLeftTupleSinkAdapter()
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getPartitionId
Returns the partition to which this propagator belongs to- Returns:
- the ID of the partition
-
setPartitionId
Sets the partition to which this propagator belongs to- Parameters:
partitionId-
-