|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStatistics
A component that maintains statistics for queued items.
Method Summary | |
---|---|
void |
intervalFinished(int queueSize,
int popped)
Signals the end of a sampling interval. |
void |
processEvent(long elapsedTimeMicroSecs)
Process a new event in the current interval. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void processEvent(long elapsedTimeMicroSecs)
elapsedTimeMicroSecs
- the elapsed time of this event on its queue (its latency)void intervalFinished(int queueSize, int popped)
queueSize
- the queue size at the end of this intervalpopped
- the number of items popped in this intervaljob
- the job to execute in addition to any native logging
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |