|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.jppf.management.JPPFNodeTaskMonitor
public class JPPFNodeTaskMonitor
MBean implementation for task-level monitoring on each node.
| Field Summary |
|---|
| Fields inherited from interface org.jppf.management.JPPFNodeTaskMonitorMBean |
|---|
TASK_MONITOR_MBEAN_NAME |
| Constructor Summary | |
|---|---|
JPPFNodeTaskMonitor(String objectName)
Default constructor. |
|
| 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. |
void |
taskExecuted(TaskExecutionEvent event)
Called to notify a listener that a task was executed. |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.management.NotificationEmitter |
|---|
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
|---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
| Constructor Detail |
|---|
public JPPFNodeTaskMonitor(String objectName)
objectName - a string representing the MBean object name.| Method Detail |
|---|
public void taskExecuted(TaskExecutionEvent event)
taskExecuted in interface TaskExecutionListenerevent - the event encapsulating the task-related data.TaskExecutionListener.taskExecuted(org.jppf.server.node.TaskExecutionEvent)public Integer getTotalTasksExecuted()
getTotalTasksExecuted in interface JPPFNodeTaskMonitorMBeanJPPFNodeTaskMonitorMBean.getTotalTasksExecuted()public Long getTotalTaskCpuTime()
getTotalTaskCpuTime in interface JPPFNodeTaskMonitorMBeanJPPFNodeTaskMonitorMBean.getTotalTaskCpuTime()public Long getTotalTaskElapsedTime()
getTotalTaskElapsedTime in interface JPPFNodeTaskMonitorMBeanJPPFNodeTaskMonitorMBean.getTotalTaskElapsedTime()public Integer getTotalTasksInError()
getTotalTasksInError in interface JPPFNodeTaskMonitorMBeanJPPFNodeTaskMonitorMBean.getTotalTasksInError()public Integer getTotalTasksSucessfull()
getTotalTasksSucessfull in interface JPPFNodeTaskMonitorMBeanJPPFNodeTaskMonitorMBean.getTotalTasksSucessfull()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||