|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.jppf.server.job.management.DriverJobManagement
public class DriverJobManagement
Implementation of the job management bean.
| Field Summary |
|---|
| Fields inherited from interface org.jppf.server.job.management.DriverJobManagementMBean |
|---|
MBEAN_NAME |
| Constructor Summary | |
|---|---|
DriverJobManagement()
Initialize this MBean. |
|
| Method Summary | |
|---|---|
void |
cancelJob(String jobUuid)
Cancel the job with the specified id. |
String[] |
getAllJobIds()
Get the set of ids for all the jobs currently queued or executing. |
JobInformation |
getJobInformation(String jobUuid)
Get an object describing the job with the specified uuid. |
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 |
sendNotification(Notification notification)
|
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 node can run on. |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.management.NotificationEmitter |
|---|
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
|---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
| Constructor Detail |
|---|
public DriverJobManagement()
| Method Detail |
|---|
public void cancelJob(String jobUuid)
throws Exception
cancelJob in interface DriverJobManagementMBeanjobUuid - the id of the job to cancel.
Exception - if any error occurs.DriverJobManagementMBean.cancelJob(java.lang.String)
public void suspendJob(String jobUuid,
Boolean requeue)
throws Exception
suspendJob in interface DriverJobManagementMBeanjobUuid - the id 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.DriverJobManagementMBean.suspendJob(java.lang.String,java.lang.Boolean)
public void resumeJob(String jobUuid)
throws Exception
resumeJob in interface DriverJobManagementMBeanjobUuid - the id of the job to resume.
Exception - if any error occurs.DriverJobManagementMBean.resumeJob(java.lang.String)
public void updateMaxNodes(String jobUuid,
Integer maxNodes)
throws Exception
updateMaxNodes in interface DriverJobManagementMBeanjobUuid - the id of the job to update.maxNodes - the new maximum number of nodes for the job.
Exception - if any error occurs.DriverJobManagementMBean.updateMaxNodes(java.lang.String, java.lang.Integer)
public String[] getAllJobIds()
throws Exception
getAllJobIds in interface DriverJobManagementMBeanException - if any error occurs.DriverJobManagementMBean.getAllJobIds()
public JobInformation getJobInformation(String jobUuid)
throws Exception
getJobInformation in interface DriverJobManagementMBeanjobUuid - the id of the job to get information about.
JobInformation.
Exception - if any error occurs.DriverJobManagementMBean.getJobInformation(java.lang.String)
public NodeJobInformation[] getNodeInformation(String jobUuid)
throws Exception
getNodeInformation in interface DriverJobManagementMBeanjobUuid - the id of the job for which to find node information.
NodeManagementInfo instances.
Exception - if any error occurs.DriverJobManagementMBean.getNodeInformation(java.lang.String)public void sendNotification(Notification notification)
sendNotification in class NotificationBroadcasterSupport
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||