Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface JobRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface JobRuntimeMBean
extends RuntimeMBean

RuntimeMBean that provides information about a particular job.


Field Summary
static String CANCELLED
          State indicating the Job has been cancelled
static String RUNNING
          State indicating that the job is running.
 
Method Summary
 void cancel()
          Cancel this job and prevent it from executing again in any server, not just this server.
 String getDescription()
          Get the description of the submitted commonj.timers.TimerListener.
 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
 String getState()
          Returns the state of the task.
 long getTimeout()
          Returns when the job will be executed next
 Serializable getTimerListener()
          Get the TimerListener associated with this job.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

RUNNING

static final String RUNNING
State indicating that the job is running.

See Also:
Constant Field Values

CANCELLED

static final String CANCELLED
State indicating the Job has been cancelled

See Also:
Constant Field Values
Method Detail

getTimerListener

Serializable getTimerListener()
Get the TimerListener associated with this job. This call involves a database roundtrip and should be used too frequently.


getDescription

String getDescription()
Get the description of the submitted commonj.timers.TimerListener. Returns commonj.timers.TimerListener#toString.


getID

String getID()
The unique ID corresponding to this job


getPeriod

long getPeriod()
Returns the specified periodicity of this job


getTimeout

long getTimeout()
Returns when the job will be executed next


getLastLocalExecutionTime

long getLastLocalExecutionTime()
Returns the most recent execution time of this job in the local server. Note that multiple executions of the same job are load-balanced across the cluster and this time indicates when the job was last executed locally.


getLocalExecutionCount

long getLocalExecutionCount()
Returns the number of times this job was executed locally. Job executions are load-balanced across the cluster. This count specifies the number of executions of the job in the local server.


cancel

void cancel()
Cancel this job and prevent it from executing again in any server, not just this server.


getState

String getState()
Returns the state of the task. A Job is either in running state or in cancelled state


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02