public class SingleObjectSinkAdapter extends Object implements ObjectSinkPropagator
Constructor and Description |
---|
SingleObjectSinkAdapter() |
SingleObjectSinkAdapter(ObjectSink sink) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeSinkPartition
public SingleObjectSinkAdapter()
public SingleObjectSinkAdapter(ObjectSink sink)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public ObjectSinkPropagator addObjectSink(ObjectSink sink, int alphaNodeHashingThreshold)
addObjectSink
in interface ObjectSinkPropagator
public ObjectSinkPropagator removeObjectSink(ObjectSink sink)
removeObjectSink
in interface ObjectSinkPropagator
public void propagateAssertObject(InternalFactHandle factHandle, PropagationContext context, InternalWorkingMemory workingMemory)
propagateAssertObject
in interface ObjectSinkPropagator
public void propagateModifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
propagateModifyObject
in interface ObjectSinkPropagator
public void byPassModifyToBetaNode(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
byPassModifyToBetaNode
in interface ObjectSinkPropagator
public void doLinkRiaNode(InternalWorkingMemory wm)
doLinkRiaNode
in interface ObjectSinkPropagator
public static void staticDoLinkRiaNode(ObjectSink sink, InternalWorkingMemory wm)
public void doUnlinkRiaNode(InternalWorkingMemory wm)
doUnlinkRiaNode
in interface ObjectSinkPropagator
public static void staticDoUnlinkRiaNode(ObjectSink sink, InternalWorkingMemory wm)
public BaseNode getMatchingNode(BaseNode candidate)
getMatchingNode
in interface ObjectSinkPropagator
public ObjectSink[] getSinks()
getSinks
in interface ObjectSinkPropagator
public int size()
size
in interface ObjectSinkPropagator
public boolean isEmpty()
isEmpty
in interface ObjectSinkPropagator
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.