|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.resilientedge.util.workerPool.WaitQStats
Statistics related to wait queues.
Constructor Summary | |
WaitQStats()
Default constructor. |
|
WaitQStats(java.lang.String qid)
Constructor to specify an identifier for the queue. |
Method Summary | |
java.lang.Object |
clone()
Make a copy of the statistics. |
long |
getAvgWaitTime()
|
java.lang.String |
getId()
|
int |
getMaxWaitCount()
|
long |
getMaxWaitTime()
|
int |
getNotifyCount()
|
long |
getTimeoutCount()
|
int |
getWaitCount()
|
long |
getWaitTime()
|
int |
incrNotifyCount()
Adjust by 1 the number of times a notification has been made |
long |
incrTimeoutCount()
Adjust by 1 the total wait number of times a wait-time has expired. |
int |
incrWaitCount(int qCount)
Adjust by 1 the count of the total number of items that have been placed in the wait queue. |
long |
incrWaitTime(long tm)
Adjust the total time (ms) for all queue item waits |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WaitQStats()
public WaitQStats(java.lang.String qid)
qid
- a queue identifierMethod Detail |
public java.lang.String getId()
public int getWaitCount()
public int getMaxWaitCount()
public long getTimeoutCount()
public long getWaitTime()
public long getMaxWaitTime()
public int getNotifyCount()
public long getAvgWaitTime()
public java.lang.Object clone()
clone
in class java.lang.Object
public int incrWaitCount(int qCount)
qCount
- Parameter Descriptionpublic long incrTimeoutCount()
public long incrWaitTime(long tm)
tm
- the number of milliseconds to increment the total wait timepublic int incrNotifyCount()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |