public interface DriverJobManagementMBean extends NotificationEmitter
| Modifier and Type | Field and Description |
|---|---|
static String |
MBEAN_NAME
The name under which this MBean is registered with the MBean server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelJob(String jobUuid)
Cancel the job with the specified id.
|
String[] |
getAllJobIds()
Get the set of uuids for all the jobs currently queued or executing.
|
JobInformation |
getJobInformation(String jobUuid)
Get an object describing the job with the specified id.
|
NodeJobInformation[] |
getNodeInformation(String jobUuid)
Get a list of objects describing the nodes to which the whole or part of a job was dispatched.
|
void |
resumeJob(String jobUuid)
Resume the job with the specified id.
|
void |
suspendJob(String jobUuid,
Boolean requeue)
Suspend the job with the specified id.
|
void |
updateMaxNodes(String jobUuid,
Integer maxNodes)
Update the maximum number of nodes a job can run on.
|
void |
updatePriority(String jobUuid,
Integer newPriority)
Update the priority of a job.
|
removeNotificationListeneraddNotificationListener, getNotificationInfo, removeNotificationListenerstatic final String MBEAN_NAME
void cancelJob(String jobUuid) throws Exception
jobUuid - the uuid of the job to cancel.Exception - if any error occurs.void suspendJob(String jobUuid, Boolean requeue) throws Exception
jobUuid - the uuid of the job to suspend.requeue - true if the sub-jobs running on each node should be canceled and requeued,
false if they should be left to execute until completion.Exception - if any error occurs.void resumeJob(String jobUuid) throws Exception
jobUuid - the uuid of the job to resume.Exception - if any error occurs.void updateMaxNodes(String jobUuid, Integer maxNodes) throws Exception
jobUuid - the uuid of the job to update.maxNodes - the new maximum number of nodes for the job.Exception - if any error occurs.String[] getAllJobIds() throws Exception
Exception - if any error occurs.JobInformation getJobInformation(String jobUuid) throws Exception
jobUuid - the uuid of the job to get information about.JobInformation.Exception - if any error occurs.NodeJobInformation[] getNodeInformation(String jobUuid) throws Exception
jobUuid - the uuid of the job for which to find node information.NodeManagementInfo, JobInformation instances.Exception - if any error occurs.Copyright © 2005-2012 JPPF Team.