Package org.drools.core.time.impl
Class DefaultJobHandle
java.lang.Object
org.drools.core.util.AbstractLinkedListNode<T>
org.drools.core.time.impl.AbstractJobHandle<DefaultJobHandle>
org.drools.core.time.impl.DefaultJobHandle
- All Implemented Interfaces:
Serializable,JobHandle,DoubleLinkedEntry<DefaultJobHandle>,SingleLinkedEntry<DefaultJobHandle>
- Direct Known Subclasses:
JDKTimerService.JDKJobHandle
A default implementation for the JobHandle interface
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()booleanlonggetId()protected JobgetJob()inthashCode()booleanisCancel()voidsetTimerJobInstance(TimerJobInstance scheduledJob) toString()Methods inherited from class org.drools.core.util.AbstractLinkedListNode
clear, getNext, getPrevious, setNext, setPreviousMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.core.util.DoubleLinkedEntry
clear, getPrevious, setPreviousMethods inherited from interface org.drools.core.util.SingleLinkedEntry
getNext, setNext
-
Constructor Details
-
DefaultJobHandle
public DefaultJobHandle(long id)
-
-
Method Details
-
getId
public long getId() -
cancel
public void cancel() -
isCancel
public boolean isCancel() -
getJob
-
setTimerJobInstance
-
getTimerJobInstance
-
hashCode
public int hashCode() -
equals
-
toString
-