public static class SlidingTimeWindow.BehaviorJobContext extends Object implements JobContext, Externalizable
| Modifier and Type | Field and Description |
|---|---|
Behavior |
behavior |
Behavior.Context |
behaviorContext |
JobHandle |
handle |
int |
nodeId |
InternalWorkingMemory |
workingMemory |
| Constructor and Description |
|---|
SlidingTimeWindow.BehaviorJobContext(int nodeId,
InternalWorkingMemory workingMemory,
Behavior behavior,
Behavior.Context behaviorContext) |
| Modifier and Type | Method and Description |
|---|---|
JobHandle |
getJobHandle() |
InternalWorkingMemory |
getWorkingMemory() |
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 Behavior.Context behaviorContext
public JobHandle handle
public SlidingTimeWindow.BehaviorJobContext(int nodeId,
InternalWorkingMemory workingMemory,
Behavior behavior,
Behavior.Context 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 ExternalizableIOExceptionpublic InternalWorkingMemory getWorkingMemory()
getWorkingMemory in interface JobContextCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.