org.clazzes.util.sched
public interface IJobStatus
Modifier and Type | Method and Description |
---|---|
Throwable |
getException() |
long |
getFinishedMillis() |
Long |
getNextExecutionDelay() |
Object |
getResult() |
boolean |
isCancelled() |
boolean |
isDone() |
boolean isCancelled()
boolean isDone()
ITimedJob
has been
never been started, this method return true
and
getFinishedMillis()
returns -1
.Object getResult()
Throwable getException()
long getFinishedMillis()
Long getNextExecutionDelay()
getFinishedMillis()
in milliseconds.
If null
, this is a one-time job or a timed job,
which is finished and will not be executed again.
If isDone()
returns false
, this was the
intended next execution since the last execution.Copyright © 2013 Clazzes.org. All Rights Reserved.