|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JPPFDriverListener
Instances of this class are used to collect statistics on the JPPF server.
| Method Summary | |
|---|---|
void |
clientConnectionClosed()
Called to notify that a new client has disconnected from he JPPF server. |
void |
newClientConnection()
Called to notify that a new client is connected to he JPPF server. |
void |
newNodeConnection()
Called to notify that a new node is connected to he JPPF server. |
void |
nodeConnectionClosed()
Called to notify that a new node is connected to he JPPF server. |
void |
reset()
Notification that a reset of this server's statistics has been requested. |
void |
taskExecuted(int count,
long time,
long remoteTime,
long size)
Called when a task execution has completed. |
void |
taskInQueue(int count)
Called to notify that a task was added to the queue. |
void |
taskOutOfQueue(int count,
long time)
Called to notify that a task was removed from the queue. |
| Method Detail |
|---|
void newClientConnection()
void clientConnectionClosed()
void newNodeConnection()
void nodeConnectionClosed()
void taskInQueue(int count)
count - the number of tasks that have been added to the queue.
void taskOutOfQueue(int count,
long time)
count - the number of tasks that have been removed from the queue.time - the time the task remained in the queue.
void taskExecuted(int count,
long time,
long remoteTime,
long size)
count - the number of tasks that have been executed.time - the time it took to execute the task, including transport to and from the node.remoteTime - the time it took to execute the in the node only.size - the size in bytes of the bundle that was sent to the node.void reset()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||