org.drools.rule
Class SlidingTimeWindow.BehaviorJobContext
java.lang.Object
org.drools.rule.SlidingTimeWindow.BehaviorJobContext
- All Implemented Interfaces:
- Externalizable, Serializable, JobContext
- Enclosing class:
- SlidingTimeWindow
public static class SlidingTimeWindow.BehaviorJobContext
- extends Object
- implements JobContext, Externalizable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workingMemory
public InternalWorkingMemory workingMemory
nodeId
public int nodeId
behavior
public Behavior behavior
behaviorContext
public Object behaviorContext
memory
public WindowNode.WindowMemory memory
handle
public JobHandle handle
SlidingTimeWindow.BehaviorJobContext
public SlidingTimeWindow.BehaviorJobContext(int nodeId,
InternalWorkingMemory workingMemory,
Behavior behavior,
WindowNode.WindowMemory memory,
Object behaviorContext)
- Parameters:
workingMemory - behavior - behaviorContext -
getJobHandle
public JobHandle getJobHandle()
- Specified by:
getJobHandle in interface JobContext
setJobHandle
public void setJobHandle(JobHandle jobHandle)
- Description copied from interface:
JobContext
- This method should only be called by the scheduler
- Specified by:
setJobHandle in interface JobContext
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.