|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JPPFNodeAdminMBean
Exposed interface of the JPPF node management bean.
| Field Summary |
|---|
| Fields inherited from interface org.jppf.management.JPPFAdminMBean |
|---|
DRIVER_MBEAN_NAME, DRIVER_SUFFIX, NODE_MBEAN_NAME, NODE_SUFFIX |
| Method Summary | |
|---|---|
void |
cancelJob(String jobId,
Boolean requeue)
Cancel the job with the specified id. |
void |
cancelTask(String id)
Cancel the execution of the tasks with the specified id. |
Serializable |
notification()
Get the latest task notification from the node. |
void |
resetTaskCounter()
Reset the node's executed tasks counter to zero. |
void |
restart()
Restart the node. |
void |
restartTask(String id)
Restart the execution of the tasks with the specified id. |
void |
setTaskCounter(Integer n)
Reset the node's executed tasks counter to the specified value. |
void |
shutdown()
Shutdown the node. |
JPPFNodeState |
state()
Get the latest state information from the node. |
JPPFSystemInformation |
systemInformation()
Get detailed information about the node's JVM properties, environment variables and runtime information such as memory usage and available processors. |
void |
updateConfiguration(Map<Object,Object> config,
Boolean reconnect)
Update the configuration properties of the node. |
void |
updateThreadPoolSize(Integer size)
Set the size of the node's thread pool. |
void |
updateThreadsPriority(Integer newPriority)
Update the priority of all execution threads. |
| Method Detail |
|---|
JPPFNodeState state()
throws Exception
JPPFNodeState information.
Exception - if any error occurs.
Serializable notification()
throws Exception
Serializable object.
Exception - if any error occurs.
void cancelTask(String id)
throws Exception
id - the id of the tasks to cancel.
Exception - if any error occurs.
void restartTask(String id)
throws Exception
id - the id of the task or tasks to restart.
Exception - if any error occurs.
void updateThreadPoolSize(Integer size)
throws Exception
size - the size as an int.
Exception - if any error occurs.
void updateThreadsPriority(Integer newPriority)
throws Exception
newPriority - the new priority to set.
Exception - if an error is raised when invoking the node mbean.
JPPFSystemInformation systemInformation()
throws Exception
JPPFSystemInformation instance.
Exception - if any error occurs.
void restart()
throws Exception
Exception - if any error occurs.
void shutdown()
throws Exception
Exception - if any error occurs.
void resetTaskCounter()
throws Exception
Exception - if any error occurs.
void setTaskCounter(Integer n)
throws Exception
n - the number to set the task counter to.
Exception - if any error occurs.
void updateConfiguration(Map<Object,Object> config,
Boolean reconnect)
throws Exception
config - the set of properties to update.reconnect - - specifies whether the node should reconnect ot the driver after updating the properties.
Exception - if any error occurs.
void cancelJob(String jobId,
Boolean requeue)
throws Exception
jobId - the id of the job to cancel.requeue - true if the job should be requeued on the server side, false otherwise.
Exception - if any error occurs.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||