|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface DriverJobManagementMBean
This is the job management MBean interface.
| Field Summary | |
|---|---|
static String |
MBEAN_NAME
The name under which this MBean is registered with the MBean server. |
| Method Summary | |
|---|---|
void |
cancelJob(String jobId)
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 jobId)
Get an object describing the job with the specified id. |
NodeJobInformation[] |
getNodeInformation(String jobId)
Get a list of objects describing the nodes to which the whole or part of a job was dispatched. |
void |
resumeJob(String jobId)
Resume the job with the specified id. |
void |
suspendJob(String jobId,
Boolean requeue)
Suspend the job with the specified id. |
void |
updateMaxNodes(String jobId,
Integer maxNodes)
Update the maximum number of nodes a job can run on. |
| Methods inherited from interface javax.management.NotificationEmitter |
|---|
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
|---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
| Field Detail |
|---|
static final String MBEAN_NAME
| Method Detail |
|---|
void cancelJob(String jobId)
throws Exception
jobId - the id of the job to cancel.
Exception - if any error occurs.
void suspendJob(String jobId,
Boolean requeue)
throws Exception
jobId - 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.
void resumeJob(String jobId)
throws Exception
jobId - the id of the job to resume.
Exception - if any error occurs.
void updateMaxNodes(String jobId,
Integer maxNodes)
throws Exception
jobId - the id 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 jobId)
throws Exception
jobId - the id of the job to get information about.
JobInformation.
Exception - if any error occurs.
NodeJobInformation[] getNodeInformation(String jobId)
throws Exception
jobId - the id of the job for which to find node information.
NodeManagementInfo, JobInformation instances.
Exception - if any error occurs.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||