Package org.jppf.management
Class JPPFDriverAdmin
java.lang.Object
org.jppf.management.JPPFDriverAdmin
- All Implemented Interfaces:
Serializable,org.jppf.management.JPPFAdminMBean,org.jppf.management.JPPFDriverAdminMBean
Instances of this class encapsulate the administration functionalities for a JPPF driver.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from interface org.jppf.management.JPPFDriverAdminMBean
MBEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangeLoadBalancerSettings(String algorithm, Map<Object, Object> parameters) getActiveState(org.jppf.management.NodeSelector selector) booleanCollection<org.jppf.management.JPPFManagementInfo>Collection<org.jppf.management.JPPFManagementInfo>idleNodesInformation(org.jppf.management.NodeSelector selector) org.jppf.load.balancer.LoadBalancingInformationnbIdleNodes(org.jppf.management.NodeSelector selector) nbIdleNodes(org.jppf.management.NodeSelector selector, boolean includePeers) nbNodes()nbNodes(org.jppf.management.NodeSelector selector) Collection<org.jppf.management.JPPFManagementInfo>Collection<org.jppf.management.JPPFManagementInfo>nodesInformation(org.jppf.management.NodeSelector selector) Collection<org.jppf.management.JPPFManagementInfo>nodesInformation(org.jppf.management.NodeSelector selector, boolean includePeers) voidrestartShutdown(Long shutdownDelay, Long restartDelay) voidsetActiveState(org.jppf.management.NodeSelector selector, boolean active) voidsetBroadcasting(boolean broadcasting) org.jppf.utils.stats.JPPFStatisticsorg.jppf.management.JPPFSystemInformationvoidtoggleActiveState(org.jppf.management.NodeSelector selector)
-
Constructor Details
-
JPPFDriverAdmin
- Parameters:
driver- the jppf driver that holds this mbean.
-
-
Method Details
-
nbNodes
- Specified by:
nbNodesin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
nbNodes
- Specified by:
nbNodesin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
nodesInformation
- Specified by:
nodesInformationin interfaceorg.jppf.management.JPPFDriverAdminMBean
-
nodesInformation
public Collection<org.jppf.management.JPPFManagementInfo> nodesInformation(org.jppf.management.NodeSelector selector) - Specified by:
nodesInformationin interfaceorg.jppf.management.JPPFDriverAdminMBean
-
nodesInformation
public Collection<org.jppf.management.JPPFManagementInfo> nodesInformation(org.jppf.management.NodeSelector selector, boolean includePeers) - Specified by:
nodesInformationin interfaceorg.jppf.management.JPPFDriverAdminMBean
-
nbIdleNodes
- Specified by:
nbIdleNodesin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
nbIdleNodes
- Specified by:
nbIdleNodesin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
nbIdleNodes
public Integer nbIdleNodes(org.jppf.management.NodeSelector selector, boolean includePeers) throws Exception - Specified by:
nbIdleNodesin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
idleNodesInformation
- Specified by:
idleNodesInformationin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
idleNodesInformation
public Collection<org.jppf.management.JPPFManagementInfo> idleNodesInformation(org.jppf.management.NodeSelector selector) - Specified by:
idleNodesInformationin interfaceorg.jppf.management.JPPFDriverAdminMBean
-
statistics
- Specified by:
statisticsin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
changeLoadBalancerSettings
public String changeLoadBalancerSettings(String algorithm, Map<Object, Object> parameters) throws Exception- Specified by:
changeLoadBalancerSettingsin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
loadBalancerInformation
- Specified by:
loadBalancerInformationin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
restartShutdown
- Specified by:
restartShutdownin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
resetStatistics
- Specified by:
resetStatisticsin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
systemInformation
- Specified by:
systemInformationin interfaceorg.jppf.management.JPPFAdminMBean- Throws:
Exception
-
toggleActiveState
- Specified by:
toggleActiveStatein interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
getActiveState
public Map<String,Boolean> getActiveState(org.jppf.management.NodeSelector selector) throws Exception - Specified by:
getActiveStatein interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
setActiveState
public void setActiveState(org.jppf.management.NodeSelector selector, boolean active) throws Exception - Specified by:
setActiveStatein interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
setBroadcasting
- Specified by:
setBroadcastingin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-
getBroadcasting
- Specified by:
getBroadcastingin interfaceorg.jppf.management.JPPFDriverAdminMBean- Throws:
Exception
-