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 JobContext
public void setJobHandle(JobHandle jobHandle)
JobContext
setJobHandle
in interface JobContext
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 InternalWorkingMemory getWorkingMemory()
getWorkingMemory
in interface JobContext
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.