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 |
getLastReapDuration()
Gets the duration for the last reap cycle.
|
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 |
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 |
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 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 getAverageReapedSessions()
long getMaxReapedSessions()
long getMaxReapDuration()
void resetStatistics()