javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, RuntimeMBean, WebLogicMBeanpublic interface JobRuntimeMBean extends RuntimeMBean
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CANCELLED |
State indicating the Job has been cancelled
|
static java.lang.String |
RUNNING |
State indicating that the job is running.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancel() |
Cancel this job and prevent it from executing again in any server, not just
this server.
|
java.lang.String |
getDescription() |
Get the description of the submitted
commonj.timers.TimerListener. |
java.lang.String |
getID() |
The unique ID corresponding to this job
|
long |
getLastLocalExecutionTime() |
Returns the most recent execution time of this job in the local server.
|
long |
getLocalExecutionCount() |
Returns the number of times this job was executed locally.
|
long |
getPeriod() |
Returns the specified periodicity of this job
|
java.lang.String |
getState() |
Returns the state of the task.
|
long |
getTimeout() |
Returns when the job will be executed next
|
java.io.Serializable |
getTimerListener() |
Get the
TimerListener associated with this job. |
getAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentstatic final java.lang.String RUNNING
static final java.lang.String CANCELLED
java.io.Serializable getTimerListener()
TimerListener associated with this job. This
call involves a database roundtrip and should be used too frequently.java.lang.String getDescription()
commonj.timers.TimerListener.
Returns commonj.timers.TimerListener#toString.java.lang.String getID()
long getPeriod()
long getTimeout()
long getLastLocalExecutionTime()
long getLocalExecutionCount()
void cancel()
java.lang.String getState()