Class JPPFNodeTaskMonitorMBeanForwarder
java.lang.Object
org.jppf.management.forwarding.AbstractMBeanForwarder
org.jppf.management.forwarding.generated.JPPFNodeTaskMonitorMBeanForwarder
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 Summary
ConstructorsConstructorDescriptionInitialize this proxy. -
Method Summary
Modifier and TypeMethodDescriptiongetTotalTaskCpuTime(NodeSelector selector) Get the value of theTotalTaskCpuTimeattribute for all selected nodes (the total cpu time used by the tasks in milliseconds).getTotalTaskElapsedTime(NodeSelector selector) Get the value of theTotalTaskElapsedTimeattribute for all selected nodes (the total elapsed time used by the tasks in milliseconds).getTotalTasksExecuted(NodeSelector selector) Get the value of theTotalTasksExecutedattribute for all selected nodes (the total number of tasks executed by the node).getTotalTasksInError(NodeSelector selector) Get the value of theTotalTasksInErrorattribute for all selected nodes (the total number of tasks that ended in error).getTotalTasksSucessfull(NodeSelector selector) Get the value of theTotalTasksSucessfullattribute for all selected nodes (the total number of tasks that executed successfully).reset(NodeSelector selector) Invoke theresetoperation for all selected nodes (reset the statistics maintained by this MBean).Methods inherited from class org.jppf.management.forwarding.AbstractMBeanForwarder
addNotificationListener, addNotificationListener, getAttribute, invoke, invoke, removeAllNotificationListeners, removeNotificationListener, setAttribute
-
Constructor Details
-
JPPFNodeTaskMonitorMBeanForwarder
Initialize this proxy.- Parameters:
jmx- aJMXDriverConnectionWrapperinstance.- Throws:
Exception- if any error occurs..
-
-
Method Details
-
getTotalTasksExecuted
Get the value of theTotalTasksExecutedattribute for all selected nodes (the total number of tasks executed by the node).- Parameters:
selector- aNodeSelectorinstance.- Returns:
- a mapping of node uuids to
Integerinstances. - Throws:
Exception- if any error occurs.
-
getTotalTaskCpuTime
Get the value of theTotalTaskCpuTimeattribute for all selected nodes (the total cpu time used by the tasks in milliseconds).- Parameters:
selector- aNodeSelectorinstance.- Returns:
- a mapping of node uuids to
Longinstances. - Throws:
Exception- if any error occurs.
-
getTotalTaskElapsedTime
Get the value of theTotalTaskElapsedTimeattribute for all selected nodes (the total elapsed time used by the tasks in milliseconds).- Parameters:
selector- aNodeSelectorinstance.- Returns:
- a mapping of node uuids to
Longinstances. - Throws:
Exception- if any error occurs.
-
getTotalTasksInError
Get the value of theTotalTasksInErrorattribute for all selected nodes (the total number of tasks that ended in error).- Parameters:
selector- aNodeSelectorinstance.- Returns:
- a mapping of node uuids to
Integerinstances. - Throws:
Exception- if any error occurs.
-
getTotalTasksSucessfull
Get the value of theTotalTasksSucessfullattribute for all selected nodes (the total number of tasks that executed successfully).- Parameters:
selector- aNodeSelectorinstance.- Returns:
- a mapping of node uuids to
Integerinstances. - Throws:
Exception- if any error occurs.
-
reset
Invoke theresetoperation for all selected nodes (reset the statistics maintained by this MBean).- Parameters:
selector- aNodeSelectorinstance.- Returns:
- a mapping of node uuids to objects that wrap either
nullor an exeption. - Throws:
Exception- if any error occurs.
-