public static class SlidingTimeWindow.BehaviorJobContext extends Object implements JobContext, Externalizable
| Modifier and Type | Field and Description |
|---|---|
Behavior |
behavior |
Object |
behaviorContext |
JobHandle |
handle |
int |
nodeId |
InternalWorkingMemory |
workingMemory |
| Constructor and Description |
|---|
SlidingTimeWindow.BehaviorJobContext(int nodeId,
InternalWorkingMemory workingMemory,
Behavior behavior,
Object behaviorContext) |
| Modifier and Type | Method and Description |
|---|---|
JobHandle |
getJobHandle() |
void |
readExternal(ObjectInput in) |
void |
setJobHandle(JobHandle jobHandle)
This method should only be called by the scheduler
|
void |
writeExternal(ObjectOutput out) |
public InternalWorkingMemory workingMemory
public int nodeId
public Behavior behavior
public Object behaviorContext
public JobHandle handle
public SlidingTimeWindow.BehaviorJobContext(int nodeId,
InternalWorkingMemory workingMemory,
Behavior behavior,
Object behaviorContext)
public JobHandle getJobHandle()
getJobHandle in interface JobContextpublic void setJobHandle(JobHandle jobHandle)
JobContextsetJobHandle in interface JobContextpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.