Package org.drools.core.time.impl
Class DefaultJobHandle
- java.lang.Object
-
- org.drools.core.time.impl.AbstractJobHandle
-
- org.drools.core.time.impl.DefaultJobHandle
-
- All Implemented Interfaces:
Serializable
,JobHandle
,Entry<JobHandle>
,LinkedListNode<JobHandle>
- Direct Known Subclasses:
JDKTimerService.JDKJobHandle
public class DefaultJobHandle extends AbstractJobHandle implements Serializable
A default implementation for the JobHandle interface- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultJobHandle(long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getId()
protected Job
getJob()
TimerJobInstance
getTimerJobInstance()
int
hashCode()
boolean
isCancel()
void
setCancel(boolean cancel)
void
setTimerJobInstance(TimerJobInstance scheduledJob)
String
toString()
-
Methods inherited from class org.drools.core.time.impl.AbstractJobHandle
getNext, getPrevious, nullPrevNext, setNext, setPrevious
-
-
-
-
Method Detail
-
getJob
protected Job getJob()
-
setTimerJobInstance
public void setTimerJobInstance(TimerJobInstance scheduledJob)
-
getTimerJobInstance
public TimerJobInstance getTimerJobInstance()
-
-