org.jppf.management
Interface JPPFNodeTaskMonitorMBean

All Superinterfaces:
NotificationBroadcaster, NotificationEmitter
All Known Implementing Classes:
JPPFNodeTaskMonitor

public interface JPPFNodeTaskMonitorMBean
extends NotificationEmitter

MBean interface for task-level monitoring on each node.

Author:
Laurent Cohen

Field Summary
static String TASK_MONITOR_MBEAN_NAME
          Name of the node's task monitor MBean.
 
Method Summary
 Long getTotalTaskCpuTime()
          The total cpu time used by the tasks in milliseconds.
 Long getTotalTaskElapsedTime()
          The total elapsed time used by the tasks in milliseconds.
 Integer getTotalTasksExecuted()
          Get the total number of tasks executed by the node.
 Integer getTotalTasksInError()
          The total number of tasks that ended in error.
 Integer getTotalTasksSucessfull()
          The total number of tasks that executed sucessfully.
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

TASK_MONITOR_MBEAN_NAME

static final String TASK_MONITOR_MBEAN_NAME
Name of the node's task monitor MBean.

See Also:
Constant Field Values
Method Detail

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 sucessfully.

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.


Copyright © 2005-2010 JPPF Team.