Class JPPFNodeProvisioningMBeanForwarder

java.lang.Object
org.jppf.management.forwarding.AbstractMBeanForwarder
org.jppf.management.forwarding.generated.JPPFNodeProvisioningMBeanForwarder

public class JPPFNodeProvisioningMBeanForwarder extends AbstractMBeanForwarder
Forwarding proxy for the JPPFNodeProvisioningMBean MBean. MBean description: interface for provisioning, managing and monitoring slave nodes.

This Mbean emits notification of type Notification:
- notification that a slave node has started or stopped.
- user data type: JPPFProvisioningInfo.

Since:
6.2
  • Constructor Details

  • Method Details

    • getNbSlaves

      public ResultsMap<String,Integer> getNbSlaves(NodeSelector selector) throws Exception
      Get the value of the NbSlaves attribute for all selected nodes (the number of slave nodes started by this MBean).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to Integer instances.
      Throws:
      Exception - if any error occurs.
    • provisionSlaveNodes

      public ResultsMap<String,Void> provisionSlaveNodes(NodeSelector selector, int slaves, boolean interrupt, TypedProperties configgOverrides) throws Exception
      Invoke the provisionSlaveNodes operation for all selected nodes (provision the specified number of slave nodes, starting new ones or stopping existing ones as needed).
      Parameters:
      selector - a NodeSelector instance.
      slaves - a Integer.
      interrupt - a Boolean.
      configgOverrides - a TypedProperties instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • provisionSlaveNodes

      public ResultsMap<String,Void> provisionSlaveNodes(NodeSelector selector, int slaves, TypedProperties configOverrides) throws Exception
      Invoke the provisionSlaveNodes operation for all selected nodes (provision the specified number of slave nodes, starting new ones or stopping existing ones as needed).
      Parameters:
      selector - a NodeSelector instance.
      slaves - a Integer.
      configOverrides - a TypedProperties instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • provisionSlaveNodes

      public ResultsMap<String,Void> provisionSlaveNodes(NodeSelector selector, int slaves, boolean interruptIfRunning) throws Exception
      Invoke the provisionSlaveNodes operation for all selected nodes (provision the specified number of slave nodes, starting new ones or stopping existing ones as needed).
      Parameters:
      selector - a NodeSelector instance.
      slaves - a Integer.
      interruptIfRunning - a Boolean.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • provisionSlaveNodes

      public ResultsMap<String,Void> provisionSlaveNodes(NodeSelector selector, int slaves) throws Exception
      Invoke the provisionSlaveNodes operation for all selected nodes (provision the specified number of slave nodes, starting new ones or stopping existing ones as needed).
      Parameters:
      selector - a NodeSelector instance.
      slaves - a Integer.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.