|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmgi.logme.worker.NodeStatus
Class to generate and use a Queue
| Method Summary | |
long |
getLastUpdate()
Returns the timestamp of the last statusupdate |
java.lang.String |
getLastUpdateHostname()
Returns the Hostname which was saved |
java.lang.String |
getLastUpdateIP()
Returns the IP which was saved |
java.lang.String |
getLastUpdateStatus()
Returns the status which was saved at the last update |
static NodeStatus |
getNodeStatus()
Returns a SaveQueue |
boolean |
getStatus()
Status of this Node |
boolean |
isSleeping()
Status of the queueline |
void |
run()
Start the queue |
void |
setSleepTime(long ms)
Set the Sleeptime of queueloops |
void |
shutdown()
Send interrupt to the queue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static NodeStatus getNodeStatus()
Returns a SaveQueue
public void shutdown()
Send interrupt to the queue
public void setSleepTime(long ms)
Set the Sleeptime of queueloops
ms - Sleeptime in Millisecondspublic long getLastUpdate()
public java.lang.String getLastUpdateStatus()
public java.lang.String getLastUpdateIP()
public java.lang.String getLastUpdateHostname()
public boolean isSleeping()
Status of the queueline
public boolean getStatus()
Status of this Node
public void run()
Start the queue
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||