public static class SlidingTimeWindow.BehaviorJobContext extends Object implements JobContext, Externalizable
| Modifier and Type | Field and Description |
|---|---|
Behavior |
behavior |
Behavior.Context |
behaviorContext |
int |
nodeId |
InternalWorkingMemory |
workingMemory |
| Constructor and Description |
|---|
BehaviorJobContext()
Do not use this constructor!
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInternalKnowledgeRuntimepublic InternalWorkingMemory workingMemory
public int nodeId
public Behavior behavior
public Behavior.Context behaviorContext
public BehaviorJobContext(int nodeId,
InternalWorkingMemory workingMemory,
Behavior behavior,
Behavior.Context behaviorContext)
public BehaviorJobContext()
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–2020 JBoss by Red Hat. All rights reserved.