Class JPPFNodeAdminMBeanForwarder

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

public class JPPFNodeAdminMBeanForwarder extends AbstractMBeanForwarder
Forwarding proxy for the JPPFNodeAdminMBean MBean. MBean description: management and monitoring of a JPPF node.
Since:
6.2
  • Constructor Details

  • Method Details

    • getDelegationModel

      public ResultsMap<String,DelegationModel> getDelegationModel(NodeSelector selector) throws Exception
      Get the value of the DelegationModel attribute for all selected nodes (the current class loader delegation model for the node).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to DelegationModel instances.
      Throws:
      Exception - if any error occurs.
    • setDelegationModel

      public ResultsMap<String,Void> setDelegationModel(NodeSelector selector, DelegationModel value) throws Exception
      Set the value of the DelegationModel attribute on all selected nodes (the current class loader delegation model for the node).
      Parameters:
      selector - a NodeSelector instance.
      value - the value to set, a DelegationModel instance.
      Returns:
      a mapping of node uuids to invocation results which may either be null or an exception.
      Throws:
      Exception - if any error occurs.
    • setTaskCounter

      public ResultsMap<String,Void> setTaskCounter(NodeSelector selector, Integer value) throws Exception
      Set the value of the TaskCounter attribute on all selected nodes (reset the node's executed tasks counter to the specified value).
      Parameters:
      selector - a NodeSelector instance.
      value - the value to set, a Integer instance.
      Returns:
      a mapping of node uuids to invocation results which may either be null or an exception.
      Throws:
      Exception - if any error occurs.
    • shutdown

      public ResultsMap<String,Void> shutdown(NodeSelector selector) throws Exception
      Invoke the shutdown operation for all selected nodes (shutdown the node unconditionally).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • shutdown

      public ResultsMap<String,Void> shutdown(NodeSelector selector, Boolean interruptIfRunning) throws Exception
      Invoke the shutdown operation for all selected nodes (shutdown the node, specifying whether to wait for executing tasks to complete).
      Parameters:
      selector - a NodeSelector instance.
      interruptIfRunning - a Boolean instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • state

      public ResultsMap<String,JPPFNodeState> state(NodeSelector selector) throws Exception
      Invoke the state operation for all selected nodes (get the latest state information from the node).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either a [@link JPPFNodeState} or an exeption.
      Throws:
      Exception - if any error occurs.
    • pendingAction

      public ResultsMap<String,NodePendingAction> pendingAction(NodeSelector selector) throws Exception
      Invoke the pendingAction operation for all selected nodes (determine wether a deffered shutdwon or restartd was requested and not yet performed for the node).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either a [@link NodePendingAction} or an exeption.
      Throws:
      Exception - if any error occurs.
    • restart

      public ResultsMap<String,Void> restart(NodeSelector selector, Boolean interruptIfRunning) throws Exception
      Invoke the restart operation for all selected nodes (restart the node, specifying whether to wait for executing tasks to complete).
      Parameters:
      selector - a NodeSelector instance.
      interruptIfRunning - a Boolean instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • restart

      public ResultsMap<String,Void> restart(NodeSelector selector) throws Exception
      Invoke the restart operation for all selected nodes (restart the node unconditionally).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • cancelJob

      public ResultsMap<String,Void> cancelJob(NodeSelector selector, String jobUuid, Boolean requeue) throws Exception
      Invoke the cancelJob operation for all selected nodes (ancel the job with the specified uuid).
      Parameters:
      selector - a NodeSelector instance.
      jobUuid - a String instance.
      requeue - a Boolean instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • cancelPendingAction

      public ResultsMap<String,Boolean> cancelPendingAction(NodeSelector selector) throws Exception
      Invoke the cancelPendingAction operation for all selected nodes (cancel a previous deferred shutdown or restart request, if any).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either a [@link Boolean} or an exeption.
      Throws:
      Exception - if any error occurs.
    • updateThreadsPriority

      public ResultsMap<String,Void> updateThreadsPriority(NodeSelector selector, Integer newPriority) throws Exception
      Invoke the updateThreadsPriority operation for all selected nodes (update the priority of all processing threads).
      Parameters:
      selector - a NodeSelector instance.
      newPriority - a Integer instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • reconnect

      public ResultsMap<String,Void> reconnect(NodeSelector selector, Boolean interruptIfRunning) throws Exception
      Invoke the reconnect operation for all selected nodes (force the node to reconnect without restarting, specifying whether to wait for executing tasks to complete).
      Parameters:
      selector - a NodeSelector instance.
      interruptIfRunning - a Boolean instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • resetTaskCounter

      public ResultsMap<String,Void> resetTaskCounter(NodeSelector selector) throws Exception
      Invoke the resetTaskCounter operation for all selected nodes (reset the node's executed tasks counter to zero).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • updateThreadPoolSize

      public ResultsMap<String,Void> updateThreadPoolSize(NodeSelector selector, Integer poolSize) throws Exception
      Invoke the updateThreadPoolSize operation for all selected nodes (set the size of the node's thread pool).
      Parameters:
      selector - a NodeSelector instance.
      poolSize - a Integer instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • updateConfiguration

      public ResultsMap<String,Void> updateConfiguration(NodeSelector selector, Map<Object,Object> cfgUpdates, Boolean restartNode, Boolean interruptIfRunning) throws Exception
      Invoke the updateConfiguration operation for all selected nodes (update the configuration properties of the node).
      Parameters:
      selector - a NodeSelector instance.
      cfgUpdates - a Map instance.
      restartNode - a Boolean instance.
      interruptIfRunning - a Boolean instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • updateConfiguration

      public ResultsMap<String,Void> updateConfiguration(NodeSelector selector, Map<Object,Object> configUpdates, Boolean restartNode) throws Exception
      Invoke the updateConfiguration operation for all selected nodes (update the configuration properties of the node).
      Parameters:
      selector - a NodeSelector instance.
      configUpdates - a Map instance.
      restartNode - a Boolean instance.
      Returns:
      a mapping of node uuids to objects that wrap either null or an exeption.
      Throws:
      Exception - if any error occurs.
    • systemInformation

      public ResultsMap<String,JPPFSystemInformation> systemInformation(NodeSelector selector) throws Exception
      Invoke the systemInformation operation for all selected nodes (get detailed information on the system where the JPPF server or node is runnning: environement variables, JVM system properties, JPPF configuration, runtime information, storage details, network interfaces, statistics).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to objects that wrap either a [@link JPPFSystemInformation} or an exeption.
      Throws:
      Exception - if any error occurs.