|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.management.JPPFNodeState
public class JPPFNodeState
Instances of this class represent the state of a node. They are used as the result of node JMX monitoring request.
| Constructor Summary | |
|---|---|
JPPFNodeState()
|
|
| Method Summary | |
|---|---|
JPPFNodeState |
copy()
Make a copy of this node state. |
Set<String> |
getAllTaskIds()
Get the ids of all currently executing tasks. |
String |
getConnectionStatus()
Get the status of the connection between the node and the server. |
long |
getCpuTime()
Get the total cpu time used by the task processing threads. |
String |
getExecutionStatus()
Get the latest execution status of the node. |
int |
getNbTasksExecuted()
Get the number of tasks executed by the node. |
Serializable |
getTaskNotification()
Get the latest event received from a task. |
int |
getThreadPoolSize()
Get the size of the node's thread pool. |
int |
getThreadPriority()
Get the priority of the threads in the pool. |
void |
setConnectionStatus(String connectionStatus)
Set the status of the connection between the node and the server. |
void |
setCpuTime(long cpuTime)
Set the total cpu time used by the task processing threads. |
void |
setExecutionStatus(String executionStatus)
Get the latest execution status of the node. |
void |
setNbTasksExecuted(int nbTasksExecuted)
Set the number of tasks executed by the node. |
void |
setTaskEvent(Serializable taskEvent)
Set the latest event received from a task. |
void |
setTaskIdSet(Set<String> taskIdSet)
Set the ids of all currently executing tasks. |
void |
setThreadPoolSize(int threadPoolSize)
Set the size of the node's thread pool. |
void |
setThreadPriority(int threadPriority)
Set the priority of the threads in the pool. |
void |
taskEnded(String id)
Notification that a task with the specified id has ended. |
void |
taskStarted(String id)
Notification that a task with the specified id has started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFNodeState()
| Method Detail |
|---|
public Serializable getTaskNotification()
public void setTaskEvent(Serializable taskEvent)
taskEvent - the event as an object.public int getNbTasksExecuted()
public void setNbTasksExecuted(int nbTasksExecuted)
nbTasksExecuted - the number of tasks as an int.public String getConnectionStatus()
public void setConnectionStatus(String connectionStatus)
connectionStatus - a string representing the connection status.public String getExecutionStatus()
public void setExecutionStatus(String executionStatus)
executionStatus - a string representing the execution status.public void taskStarted(String id)
id - the id of the task.public void taskEnded(String id)
id - the id of the task.public Set<String> getAllTaskIds()
public void setTaskIdSet(Set<String> taskIdSet)
taskIdSet - the ids as a set of strings.public int getThreadPoolSize()
public void setThreadPoolSize(int threadPoolSize)
threadPoolSize - the size as an int.public long getCpuTime()
public void setCpuTime(long cpuTime)
cpuTime - the cpu time in milliseconds.public int getThreadPriority()
public void setThreadPriority(int threadPriority)
threadPriority - the priority as an int value.public JPPFNodeState copy()
JPPFNodeState instance.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||