|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.JPPFStats
public class JPPFStats
Instances of this class hold server-wide statitics and settings.
| Constructor Summary | |
|---|---|
JPPFStats()
|
|
| Method Summary | |
|---|---|
TimeSnapshot |
getExecution()
Get the time statistics for the tasks execution, including network transport and node execution time. |
long |
getFootprint()
Get the total footprint of all the data that was sent to the nodes. |
QueueStats |
getJobQueue()
Get the statistics for the jobs in queue. |
int |
getMaxClients()
Get the maximum number of clients connected to the server. |
int |
getMaxNodes()
Get the maximum number of nodes connected to the server. |
int |
getNbClients()
Get the current number of clients connected to the server. |
int |
getNbNodes()
Get the current number of nodes connected to the server. |
TimeSnapshot |
getNodeExecution()
Get the time statistics for execution within the nodes. |
TimeSnapshot |
getServer()
Get the time statistics for the server overhead. |
QueueStats |
getTaskQueue()
Get the statistics for the tasks in queue. |
int |
getTotalTasksExecuted()
Get the total number of tasks executed. |
TimeSnapshot |
getTransport()
Get the time statistics for the network transport between nodes and server. |
JPPFStats |
makeCopy()
Build a copy of this stats object. |
void |
reset()
Reset all fields of this JPPFStats object to their initial values. |
void |
setExecution(TimeSnapshot execution)
Set the time statistics for the tasks execution, including network transport and node execution time. |
void |
setFootprint(long footprint)
Set the total footprint of all the data that was sent to the nodes. |
void |
setJobQueue(QueueStats jobQueue)
Set the statistics for the jobs in queue. |
void |
setMaxClients(int maxClients)
Set the maximum number of clients connected to the server. |
void |
setMaxNodes(int maxNodes)
Set the maximum number of nodes connected to the server. |
void |
setNbClients(int nbClients)
Set the current number of clients connected to the server. |
void |
setNbNodes(int nbNodes)
Set the current number of nodes connected to the server. |
void |
setNodeExecution(TimeSnapshot nodeExecution)
Set the time statistics for execution within the nodes. |
void |
setServer(TimeSnapshot server)
Set the time statistics for the server overhead. |
void |
setTaskQueue(QueueStats taskQueue)
Set the statistics for the tasks in queue. |
void |
setTotalTasksExecuted(int totalTasksExecuted)
Set the total number of tasks executed. |
void |
setTransport(TimeSnapshot transport)
Set the time statistics for the network transport between nodes and server. |
String |
toString()
Get a string representation of this stats object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFStats()
| Method Detail |
|---|
public JPPFStats makeCopy()
JPPFStats instance, populated with the current values
of the fields in this stats object.public String toString()
toString in class ObjectObject.toString()public void setTotalTasksExecuted(int totalTasksExecuted)
totalTasksExecuted - - the number of tasks as an int value.public int getTotalTasksExecuted()
public void setExecution(TimeSnapshot execution)
execution - - a TimeSnapshot instance.public TimeSnapshot getExecution()
TimeSnapshot instance.public void setNodeExecution(TimeSnapshot nodeExecution)
nodeExecution - - a TimeSnapshot instance.public TimeSnapshot getNodeExecution()
TimeSnapshot instance.public void setTransport(TimeSnapshot transport)
transport - - a TimeSnapshot instance.public TimeSnapshot getTransport()
TimeSnapshot instance.public void setServer(TimeSnapshot server)
server - - a TimeSnapshot instance.public TimeSnapshot getServer()
TimeSnapshot instance.public void setFootprint(long footprint)
footprint - - the footprint as a long value.public long getFootprint()
public void setNbNodes(int nbNodes)
nbNodes - - the current number of nodes as an int value.public int getNbNodes()
public void setMaxNodes(int maxNodes)
maxNodes - - the maximum number of nodes as an int value.public int getMaxNodes()
public void setNbClients(int nbClients)
nbClients - - the current number of clients as an int value.public int getNbClients()
public void setMaxClients(int maxClients)
maxClients - - the maximum number of clients as an int value.public int getMaxClients()
public void reset()
JPPFStats object to their initial values.
public QueueStats getTaskQueue()
QueueStats instance.public void setTaskQueue(QueueStats taskQueue)
taskQueue - a QueueStats instance.public QueueStats getJobQueue()
QueueStats instance.public void setJobQueue(QueueStats jobQueue)
jobQueue - a QueueStats instance.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||