|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sasl.common.schedule.CallableExecutionStatus
public class CallableExecutionStatus
This is a helper class for the
QuartzServiceAdapter
and should not be used outside the package.
Instances of the class will be used as synchronization points to make calls
to Future.cancel(boolean)
work together
with Quartz.
Constructor Summary | |
---|---|
CallableExecutionStatus()
Default constructor, does nothing actually. |
Method Summary | |
---|---|
boolean |
isMarkedAsCancelled()
Returns true if the execution status is marked as cancelled. |
boolean |
isMarkedAsNotCancellable()
Returns true if the execution status is marked as not cancellable. |
boolean |
markAsCancelled()
Tries to mark the execution status as cancelled, which only works, if the execution was not started in the past. |
boolean |
markAsNotCancellable()
Tries to mark the execution status as not cancellable, which means that the job wants now to start its execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallableExecutionStatus()
Method Detail |
---|
public boolean markAsCancelled()
public boolean isMarkedAsCancelled()
public boolean markAsNotCancellable()
public boolean isMarkedAsNotCancellable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |