|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.management.JPPFDriverAdmin
public class JPPFDriverAdmin
Instances of this class encapsulate the administration functionalities for a JPPF driver.
| Field Summary |
|---|
| Fields inherited from interface org.jppf.management.JPPFAdminMBean |
|---|
DRIVER_MBEAN_NAME, DRIVER_SUFFIX, NODE_MBEAN_NAME, NODE_SUFFIX |
| Constructor Summary | |
|---|---|
JPPFDriverAdmin()
|
|
| Method Summary | |
|---|---|
String |
changeLoadBalancerSettings(String algorithm,
Map<Object,Object> parameters)
Change the bundle size tuning settings. |
LoadBalancingInformation |
loadBalancerInformation()
Obtain the current load-balancing settings. |
Collection<JPPFManagementInfo> |
nodesInformation()
Request the JMX connection information for all the nodes attached to the server. |
void |
resetStatistics()
Reset this server's statistics. |
String |
restartShutdown(Long shutdownDelay,
Long restartDelay)
Perform a shutdown or restart of the server. |
JPPFStats |
statistics()
Get the latest statistics snapshot from the JPPF driver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFDriverAdmin()
| Method Detail |
|---|
public Collection<JPPFManagementInfo> nodesInformation()
nodesInformation in interface JPPFDriverAdminMBeanNodeManagementInfo instances.JPPFDriverAdminMBean.nodesInformation()
public JPPFStats statistics()
throws Exception
statistics in interface JPPFDriverAdminMBeanJPPFStats instance.
Exception - if any error occurs.JPPFDriverAdminMBean.statistics()
public String changeLoadBalancerSettings(String algorithm,
Map<Object,Object> parameters)
throws Exception
changeLoadBalancerSettings in interface JPPFDriverAdminMBeanalgorithm - the name of the load-balancing algorithm to set.parameters - the algorithm's parameters.
Exception - if an error occurred while updating the settings.JPPFDriverAdminMBean.changeLoadBalancerSettings(java.lang.String, java.util.Map)
public String restartShutdown(Long shutdownDelay,
Long restartDelay)
throws Exception
restartShutdown in interface JPPFDriverAdminMBeanshutdownDelay - the delay before shutting down the server, once the command is received.restartDelay - the delay before restarting, once the server is shutdown. If it is < 0, no restart occurs.
Exception - if any error occurs.JPPFDriverAdminMBean.restartShutdown(java.lang.Long, java.lang.Long)
public LoadBalancingInformation loadBalancerInformation()
throws Exception
loadBalancerInformation in interface JPPFDriverAdminMBeanLoadBalancingInformation.
Exception - if any error occurs.JPPFDriverAdminMBean.loadBalancerInformation()
public void resetStatistics()
throws Exception
reset() event via the JPPFDriverStatsManager instance.
resetStatistics in interface JPPFDriverAdminMBeanException - if any error occurs.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||