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.WorkingMemoryReteExpireActionexpireActionJobHandlehandleReteEvaluatorreteEvaluator
-
Constructor Summary
Constructors Constructor Description ExpireJobContext(StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction expireAction, ReteEvaluator reteEvaluator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireActiongetExpireAction()JobHandlegetHandle()JobHandlegetJobHandle()ReteEvaluatorgetReteEvaluator()voidreadExternal(ObjectInput in)voidsetHandle(JobHandle handle)voidsetJobHandle(JobHandle jobHandle)This method should only be called by the schedulervoidwriteExternal(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
-
-
-
-
Field Detail
-
expireAction
public final StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction expireAction
-
reteEvaluator
public final ReteEvaluator reteEvaluator
-
handle
public JobHandle handle
-
-
Constructor Detail
-
ExpireJobContext
public ExpireJobContext(StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction expireAction, ReteEvaluator reteEvaluator)
-
-
Method Detail
-
getJobHandle
public JobHandle getJobHandle()
- Specified by:
getJobHandlein interfaceJobContext
-
setJobHandle
public void setJobHandle(JobHandle jobHandle)
Description copied from interface:JobContextThis method should only be called by the scheduler- Specified by:
setJobHandlein interfaceJobContext
-
getExpireAction
public StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireAction getExpireAction()
-
getReteEvaluator
public ReteEvaluator getReteEvaluator()
- Specified by:
getReteEvaluatorin interfaceJobContext
-
getHandle
public JobHandle getHandle()
-
setHandle
public void setHandle(JobHandle handle)
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
-