Package org.drools.core.reteoo
Class EmptyObjectSinkAdapter
- java.lang.Object
-
- org.drools.core.reteoo.EmptyObjectSinkAdapter
-
- All Implemented Interfaces:
Externalizable,Serializable,ObjectSinkPropagator
public class EmptyObjectSinkAdapter extends Object implements ObjectSinkPropagator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyObjectSinkAdapter()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.reteoo.ObjectSinkPropagator
changeSinkPartition
-
-
-
-
Method Detail
-
getInstance
public static EmptyObjectSinkAdapter getInstance()
-
addObjectSink
public ObjectSinkPropagator addObjectSink(ObjectSink sink, int alphaNodeHashingThreshold, int alphaNodeRangeIndexThreshold)
- Specified by:
addObjectSinkin interfaceObjectSinkPropagator
-
removeObjectSink
public ObjectSinkPropagator removeObjectSink(ObjectSink sink)
- Specified by:
removeObjectSinkin interfaceObjectSinkPropagator
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
propagateAssertObject
public void propagateAssertObject(InternalFactHandle factHandle, PropagationContext context, InternalWorkingMemory workingMemory)
- Specified by:
propagateAssertObjectin interfaceObjectSinkPropagator
-
propagateRetractObject
public void propagateRetractObject(InternalFactHandle handle, PropagationContext context, InternalWorkingMemory workingMemory, boolean useHash)
-
propagateModifyObject
public void propagateModifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
- Specified by:
propagateModifyObjectin interfaceObjectSinkPropagator
-
byPassModifyToBetaNode
public void byPassModifyToBetaNode(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
- Specified by:
byPassModifyToBetaNodein interfaceObjectSinkPropagator
-
getMatchingNode
public BaseNode getMatchingNode(BaseNode candidate)
- Specified by:
getMatchingNodein interfaceObjectSinkPropagator
-
getSinks
public ObjectSink[] getSinks()
- Specified by:
getSinksin interfaceObjectSinkPropagator
-
size
public int size()
- Specified by:
sizein interfaceObjectSinkPropagator
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceObjectSinkPropagator
-
doLinkRiaNode
public void doLinkRiaNode(InternalWorkingMemory wm)
- Specified by:
doLinkRiaNodein interfaceObjectSinkPropagator
-
doUnlinkRiaNode
public void doUnlinkRiaNode(InternalWorkingMemory wm)
- Specified by:
doUnlinkRiaNodein interfaceObjectSinkPropagator
-
-