public class TimerNode extends LeftTupleSource implements LeftTupleSinkNode, MemoryFactory<TimerNode.TimerNodeMemory>
| Modifier and Type | Class and Description |
|---|---|
static class |
TimerNode.TimerNodeMemory |
leftDeclaredMask, leftInferredMask, leftInput, leftNegativeMask, sinkassociations, hashcode, id, memoryId, partitionId, partitionsEnabled| Constructor and Description |
|---|
TimerNode() |
TimerNode(int id,
LeftTupleSource tupleSource,
Timer timer,
String[] calendarNames,
Declaration[][] startEndDeclarations,
BuildContext context) |
addTupleSink, addTupleSink, addTupleSink, getLeftDeclaredMask, getLeftInferredMask, getLeftInputOtnId, getLeftNegativeMask, getLeftTupleSource, getObjectCount, getObjectType, getObjectTypeForPropertyReactivity, getPathIndex, getSinkPropagator, initDeclaredMask, initInferredMask, initMasks, isInUse, removeTupleSink, setLeftInferredMask, setLeftInputOtnId, setLeftListenedProperties, setLeftTupleSource, setNodeConstraintsPropertyReactiveMask, setObjectCount, setPartitionIdWithSinks, setSourcePartitionId, setSourcePartitionIdaddAssociation, addAssociation, attach, getAssociatedRules, getAssociatedRuleSize, getAssociationsSize, getAssociationsSize, getId, getMemoryId, getPartitionId, getSinks, hashCode, initMemoryId, isAssociatedWith, isStreamMode, remove, removeAssociation, setId, setPartitionId, setPartitionsEnabled, setStreamModeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLeftInferredMask, getLeftInputOtnId, setLeftInputOtnId, setPartitionIdWithSinksgetLeftTupleSource, getObjectCount, getPathIndex, getSinkPropagator, setObjectCountgetAssociatedRules, getAssociatedRuleSize, getAssociationsSize, getAssociationsSize, getId, getPartitionId, isAssociatedWithgetMemoryIdpublic TimerNode()
public TimerNode(int id,
LeftTupleSource tupleSource,
Timer timer,
String[] calendarNames,
Declaration[][] startEndDeclarations,
BuildContext context)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class LeftTupleSourceIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class LeftTupleSourceIOExceptionpublic void doAttach(BuildContext context)
public void networkUpdated(UpdateContext updateContext)
BaseNodenetworkUpdated in class BaseNodepublic Timer getTimer()
public String[] getCalendarNames()
public Declaration[][] getStartEndDeclarations()
protected Pattern getLeftInputPattern(BuildContext context)
getLeftInputPattern in class LeftTupleSourcepublic String toString()
public TimerNode.TimerNodeMemory createMemory(RuleBaseConfiguration config, InternalWorkingMemory wm)
createMemory in interface MemoryFactory<TimerNode.TimerNodeMemory>public LeftTuple createPeer(LeftTuple original)
createPeer in interface LeftTupleSinkcreatePeer in class LeftTupleSourceprotected boolean doRemove(RuleRemovalContext context, ReteooBuilder builder)
BaseNodeObjectSource or TupleSourcepublic boolean isLeftTupleMemoryEnabled()
isLeftTupleMemoryEnabled in interface LeftTupleSinkisLeftTupleMemoryEnabled in class LeftTupleSourcepublic void setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled)
setLeftTupleMemoryEnabled in interface LeftTupleSinkpublic LeftTupleSinkNode getNextLeftTupleSinkNode()
getNextLeftTupleSinkNode in interface LeftTupleSinkNodepublic void setNextLeftTupleSinkNode(LeftTupleSinkNode next)
setNextLeftTupleSinkNode in interface LeftTupleSinkNodenext - The next TupleSinkNodepublic LeftTupleSinkNode getPreviousLeftTupleSinkNode()
getPreviousLeftTupleSinkNode in interface LeftTupleSinkNodepublic void setPreviousLeftTupleSinkNode(LeftTupleSinkNode previous)
setPreviousLeftTupleSinkNode in interface LeftTupleSinkNodeprevious - The previous TupleSinkNodepublic short getType()
getType in interface NetworkNodegetType in class LeftTupleSourcepublic LeftTuple createLeftTuple(InternalFactHandle factHandle, boolean leftTupleMemoryEnabled)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(InternalFactHandle factHandle, LeftTuple leftTuple, Sink sink)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(LeftTuple leftTuple, Sink sink, PropagationContext pctx, boolean leftTupleMemoryEnabled)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, Sink sink)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTuple currentLeftChild, LeftTuple currentRightChild, Sink sink, boolean leftTupleMemoryEnabled)
createLeftTuple in interface LeftTupleSinkpublic ObjectTypeNode getObjectTypeNode()
getObjectTypeNode in class BaseNodeCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.