Class JPPFDriverAdmin

java.lang.Object
org.jppf.management.JPPFDriverAdmin
All Implemented Interfaces:
Serializable, org.jppf.management.JPPFAdminMBean, org.jppf.management.JPPFDriverAdminMBean

public class JPPFDriverAdmin extends Object implements org.jppf.management.JPPFDriverAdminMBean
Instances of this class encapsulate the administration functionalities for a JPPF driver.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JPPFDriverAdmin

      public JPPFDriverAdmin(JPPFDriver driver)
      Parameters:
      driver - the jppf driver that holds this mbean.
  • Method Details

    • nbNodes

      public Integer nbNodes() throws Exception
      Specified by:
      nbNodes in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • nbNodes

      public Integer nbNodes(org.jppf.management.NodeSelector selector) throws Exception
      Specified by:
      nbNodes in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • nodesInformation

      public Collection<org.jppf.management.JPPFManagementInfo> nodesInformation()
      Specified by:
      nodesInformation in interface org.jppf.management.JPPFDriverAdminMBean
    • nodesInformation

      public Collection<org.jppf.management.JPPFManagementInfo> nodesInformation(org.jppf.management.NodeSelector selector)
      Specified by:
      nodesInformation in interface org.jppf.management.JPPFDriverAdminMBean
    • nodesInformation

      public Collection<org.jppf.management.JPPFManagementInfo> nodesInformation(org.jppf.management.NodeSelector selector, boolean includePeers)
      Specified by:
      nodesInformation in interface org.jppf.management.JPPFDriverAdminMBean
    • nbIdleNodes

      public Integer nbIdleNodes() throws Exception
      Specified by:
      nbIdleNodes in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • nbIdleNodes

      public Integer nbIdleNodes(org.jppf.management.NodeSelector selector) throws Exception
      Specified by:
      nbIdleNodes in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • nbIdleNodes

      public Integer nbIdleNodes(org.jppf.management.NodeSelector selector, boolean includePeers) throws Exception
      Specified by:
      nbIdleNodes in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • idleNodesInformation

      public Collection<org.jppf.management.JPPFManagementInfo> idleNodesInformation() throws Exception
      Specified by:
      idleNodesInformation in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • idleNodesInformation

      public Collection<org.jppf.management.JPPFManagementInfo> idleNodesInformation(org.jppf.management.NodeSelector selector)
      Specified by:
      idleNodesInformation in interface org.jppf.management.JPPFDriverAdminMBean
    • statistics

      public org.jppf.utils.stats.JPPFStatistics statistics() throws Exception
      Specified by:
      statistics in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • changeLoadBalancerSettings

      public String changeLoadBalancerSettings(String algorithm, Map<Object,Object> parameters) throws Exception
      Specified by:
      changeLoadBalancerSettings in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • loadBalancerInformation

      public org.jppf.load.balancer.LoadBalancingInformation loadBalancerInformation() throws Exception
      Specified by:
      loadBalancerInformation in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • restartShutdown

      public String restartShutdown(Long shutdownDelay, Long restartDelay) throws Exception
      Specified by:
      restartShutdown in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • resetStatistics

      public void resetStatistics() throws Exception
      Specified by:
      resetStatistics in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • systemInformation

      public org.jppf.management.JPPFSystemInformation systemInformation() throws Exception
      Specified by:
      systemInformation in interface org.jppf.management.JPPFAdminMBean
      Throws:
      Exception
    • toggleActiveState

      public void toggleActiveState(org.jppf.management.NodeSelector selector) throws Exception
      Specified by:
      toggleActiveState in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • getActiveState

      public Map<String,Boolean> getActiveState(org.jppf.management.NodeSelector selector) throws Exception
      Specified by:
      getActiveState in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • setActiveState

      public void setActiveState(org.jppf.management.NodeSelector selector, boolean active) throws Exception
      Specified by:
      setActiveState in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • setBroadcasting

      public void setBroadcasting(boolean broadcasting) throws Exception
      Specified by:
      setBroadcasting in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception
    • getBroadcasting

      public boolean getBroadcasting() throws Exception
      Specified by:
      getBroadcasting in interface org.jppf.management.JPPFDriverAdminMBean
      Throws:
      Exception