public interface JPPFDriverAdminMBean extends JPPFAdminMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
MBEAN_NAME
Name of the driver's admin MBean.
|
DRIVER_MBEAN_NAME, DRIVER_SUFFIX, NODE_MBEAN_NAME, NODE_SUFFIX| Modifier and Type | Method and Description |
|---|---|
String |
changeLoadBalancerSettings(String algorithm,
Map<Object,Object> parameters)
Change the bundle size tuning settings.
|
Collection<JPPFManagementInfo> |
idleNodesInformation()
Request the JMX connection information for all the idle nodes attached to the server.
|
LoadBalancingInformation |
loadBalancerInformation()
Obtain the current load-balancing settings.
|
Integer |
matchingNodes(ExecutionPolicy policy)
Compute the number of nodes that would match the specified execution policy.
|
Integer |
nbIdleNodes()
Get the number of nodes currently idle.
|
Integer |
nbNodes()
Get the number of nodes attached to the driver.
|
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.
|
void |
toggleActiveState(NodeSelector selector)
Toggle the activate state of the specified nodes.
|
systemInformationstatic final String MBEAN_NAME
JPPFStats statistics() throws Exception
JPPFStats instance.Exception - if any error occurs.Integer nbNodes() throws Exception
Exception - if any error occurs.Collection<JPPFManagementInfo> nodesInformation() throws Exception
NodeManagementInfo instances.Exception - if any error occurs.String restartShutdown(Long shutdownDelay, Long restartDelay) throws Exception
shutdownDelay - 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.String changeLoadBalancerSettings(String algorithm, Map<Object,Object> parameters) throws Exception
algorithm - the name opf the load-balancing algorithm to set.parameters - the algorithm's parameters.Exception - if an error occurred while updating the settings.LoadBalancingInformation loadBalancerInformation() throws Exception
LoadBalancingInformation.Exception - if an error occurred while fetching the settings.void resetStatistics()
throws Exception
reset() event via the JPPFDriverStatsManager instance.Exception - if any error occurs.Integer matchingNodes(ExecutionPolicy policy) throws Exception
policy - the execution policy to check against the nodes.Exception - if any error occurs.Integer nbIdleNodes() throws Exception
Exception - if any error occurs.Collection<JPPFManagementInfo> idleNodesInformation() throws Exception
NodeManagementInfo instances.Exception - if any error occurs.void toggleActiveState(NodeSelector selector) throws Exception
selector - determines which nodes will be activated or deactivated.Exception - if any error occurs.Copyright © 2005-2012 JPPF Team.