Interface JPPFNodeTaskMonitorMBean

All Superinterfaces:
NotificationBroadcaster, NotificationEmitter

@MBeanNotif(description="notifications sent after or during the execution of each task", notifClass=TaskExecutionNotification.class, userDataType=java.lang.Object.class, userDataDescritpion="any user-defined data that is sent along with the notification") public interface JPPFNodeTaskMonitorMBean extends NotificationEmitter
MBean interface for task-level monitoring on each node.
Author:
Laurent Cohen
  • Field Details

  • Method Details

    • getTotalTasksExecuted

      Integer getTotalTasksExecuted()
      Get the total number of tasks executed by the node.
      Returns:
      the number of tasks as an integer value.
    • getTotalTasksInError

      Integer getTotalTasksInError()
      The total number of tasks that ended in error.
      Returns:
      the number as an integer value.
    • getTotalTasksSucessfull

      Integer getTotalTasksSucessfull()
      The total number of tasks that executed successfully.
      Returns:
      the number as an integer value.
    • getTotalTaskCpuTime

      Long getTotalTaskCpuTime()
      The total cpu time used by the tasks in milliseconds.
      Returns:
      the cpu time as long value.
    • getTotalTaskElapsedTime

      Long getTotalTaskElapsedTime()
      The total elapsed time used by the tasks in milliseconds.
      Returns:
      the elapsed time as long value.
    • reset

      void reset()
      Reset the statistics maintained by this MBean.