Package org.drools.core.reteoo
Class ObjectTypeNode.ExpireJobContext
- java.lang.Object
-
- org.drools.core.reteoo.ObjectTypeNode.ExpireJobContext
-
- All Implemented Interfaces:
Externalizable
,Serializable
,JobContext
- Enclosing class:
- ObjectTypeNode
public static class ObjectTypeNode.ExpireJobContext extends Object implements JobContext, Externalizable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction
expireAction
JobHandle
handle
InternalWorkingMemory
workingMemory
-
Constructor Summary
Constructors Constructor Description ExpireJobContext(StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction expireAction, InternalWorkingMemory workingMemory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction
getExpireAction()
JobHandle
getHandle()
JobHandle
getJobHandle()
InternalWorkingMemory
getWorkingMemory()
void
readExternal(ObjectInput in)
void
setHandle(JobHandle handle)
void
setJobHandle(JobHandle jobHandle)
This method should only be called by the schedulervoid
writeExternal(ObjectOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.time.JobContext
getInternalKnowledgeRuntime, isNew
-
-
-
-
Field Detail
-
expireAction
public final StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction expireAction
-
workingMemory
public final InternalWorkingMemory workingMemory
-
handle
public JobHandle handle
-
-
Constructor Detail
-
ExpireJobContext
public ExpireJobContext(StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction expireAction, InternalWorkingMemory workingMemory)
-
-
Method Detail
-
getJobHandle
public JobHandle getJobHandle()
- Specified by:
getJobHandle
in interfaceJobContext
-
setJobHandle
public void setJobHandle(JobHandle jobHandle)
Description copied from interface:JobContext
This method should only be called by the scheduler- Specified by:
setJobHandle
in interfaceJobContext
-
getExpireAction
public StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction getExpireAction()
-
getWorkingMemory
public InternalWorkingMemory getWorkingMemory()
- Specified by:
getWorkingMemory
in interfaceJobContext
-
getHandle
public JobHandle getHandle()
-
setHandle
public void setHandle(JobHandle handle)
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
-