Class JPPFNodeTaskMonitorMBeanForwarder

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

public class JPPFNodeTaskMonitorMBeanForwarder extends AbstractMBeanForwarder
Forwarding proxy for the JPPFNodeTaskMonitorMBean MBean. MBean description: monitoring of the tasks processing in a node.

This Mbean emits notification of type TaskExecutionNotification:
- notifications sent after or during the execution of each task.
- user data: any user-defined data that is sent along with the notification.
- user data type: any type.

Since:
6.2
  • Constructor Details

  • Method Details

    • getTotalTasksExecuted

      public ResultsMap<String,Integer> getTotalTasksExecuted(NodeSelector selector) throws Exception
      Get the value of the TotalTasksExecuted attribute for all selected nodes (the total number of tasks executed by the node).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to Integer instances.
      Throws:
      Exception - if any error occurs.
    • getTotalTaskCpuTime

      public ResultsMap<String,Long> getTotalTaskCpuTime(NodeSelector selector) throws Exception
      Get the value of the TotalTaskCpuTime attribute for all selected nodes (the total cpu time used by the tasks in milliseconds).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to Long instances.
      Throws:
      Exception - if any error occurs.
    • getTotalTaskElapsedTime

      public ResultsMap<String,Long> getTotalTaskElapsedTime(NodeSelector selector) throws Exception
      Get the value of the TotalTaskElapsedTime attribute for all selected nodes (the total elapsed time used by the tasks in milliseconds).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to Long instances.
      Throws:
      Exception - if any error occurs.
    • getTotalTasksInError

      public ResultsMap<String,Integer> getTotalTasksInError(NodeSelector selector) throws Exception
      Get the value of the TotalTasksInError attribute for all selected nodes (the total number of tasks that ended in error).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to Integer instances.
      Throws:
      Exception - if any error occurs.
    • getTotalTasksSucessfull

      public ResultsMap<String,Integer> getTotalTasksSucessfull(NodeSelector selector) throws Exception
      Get the value of the TotalTasksSucessfull attribute for all selected nodes (the total number of tasks that executed successfully).
      Parameters:
      selector - a NodeSelector instance.
      Returns:
      a mapping of node uuids to Integer instances.
      Throws:
      Exception - if any error occurs.
    • reset

      public ResultsMap<String,Void> reset(NodeSelector selector) throws Exception
      Invoke the reset operation for all selected nodes (reset the statistics maintained by this MBean).
      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.