public interface SessionReaperStatistics
Modifier and Type | Method and Description |
---|---|
long |
getAverageReapDuration()
Gets the average reap duration since the statistics was reset.
|
long |
getAverageReapedSessions()
Gets the average number of reaped sessions in a reap cycle since the statistics was reset.
|
long |
getAverageReapQueueWaitDuration()
Return the average number of milliseconds reap tasks wait in the queue prior to running.
|
long |
getLastReapDuration()
Gets the duration for the last reap cycle.
|
long |
getLastReapQueueWaitDuration()
Return the time the last reap task spent in the queue prior to running.
|
long |
getLastReapTime()
Gets the start time for the last reap cycle.
|
long |
getMaxReapDuration()
Gets the maximum reap duration since the statistics was reset.
|
long |
getMaxReapedSessions()
Gets the maximum number of sessions reaped in a reap cycle since the statistics was reset.
|
long |
getMaxReapQueueWaitDuration()
Return the max time in milliseconds a reap task has spent in the queue prior to running since the statistics were
last reset.
|
long |
getNextReapTime()
Gets the start time for the next reap cycle.
|
long |
getReapedSessions()
Gets the number of sessions that were reaped during the last reap cycle.
|
long |
getTotalReapedSessions()
Gets the number of sessions that were reaped since the statistics was reset.
|
void |
resetStatistics()
Resets the statistics held by this object.
|
void |
setLastReapDuration(long time)
Sets the duration for the last reap cycle.
|
void |
setLastReapQueueWaitDuration(long time)
Sets the duration the last reap task spent in the queue prior to running.
|
void |
setLastReapTime(long d)
Sets the start time for the last reap cycle.
|
void |
setNextReapTime(long d)
Sets the start time for the next reap cycle.
|
void |
setReapedSessions(long l)
Sets the number of sessions that were reaped during the last reap cycle.
|
void setLastReapQueueWaitDuration(long time)
time
- the duration in millisecondslong getLastReapQueueWaitDuration()
void setLastReapDuration(long time)
time
- The duration in milliseconds.long getLastReapDuration()
void setNextReapTime(long d)
d
- The time in milliseconds when the next reap cycle is schedule to start.long getNextReapTime()
void setLastReapTime(long d)
d
- The time in milliseconds when the last started.long getLastReapTime()
void setReapedSessions(long l)
l
- The number of sessions.long getReapedSessions()
long getTotalReapedSessions()
long getAverageReapDuration()
long getAverageReapQueueWaitDuration()
long getAverageReapedSessions()
long getMaxReapedSessions()
long getMaxReapDuration()
long getMaxReapQueueWaitDuration()
void resetStatistics()