Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


com.tangosol.coherence.servlet
Interface SessionReaperStatistics

All Known Implementing Classes:
SessionHelper.SessionReaperDaemon

public interface SessionReaperStatistics

Interface for session reaper statistics.

Author:
Torkel Dominique

Method Summary
 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.

 

Method Detail

setLastReapDuration

void setLastReapDuration(long time)
Sets the duration for the last reap cycle.
Parameters:
time - The duration in milliseconds.

getLastReapDuration

long getLastReapDuration()
Gets the duration for the last reap cycle.
Returns:
The duration in milliseconds.

setNextReapTime

void setNextReapTime(long d)
Sets the start time for the next reap cycle.
Parameters:
d - The time in milliseconds when the next reap cycle is schedule to start.

getNextReapTime

long getNextReapTime()
Gets the start time for the next reap cycle.
Returns:
The time in milliseconds when the next reap cycle is schedule to start.

setLastReapTime

void setLastReapTime(long d)
Sets the start time for the last reap cycle.
Parameters:
d - The time in milliseconds when the last started.

getLastReapTime

long getLastReapTime()
Gets the start time for the last reap cycle.
Returns:
The time in milliseconds when the last started.

setReapedSessions

void setReapedSessions(long l)
Sets the number of sessions that were reaped during the last reap cycle.
Parameters:
l - The number of sessions.

getReapedSessions

long getReapedSessions()
Gets the number of sessions that were reaped during the last reap cycle.
Returns:
The number of sessions.

getTotalReapedSessions

long getTotalReapedSessions()
Gets the number of sessions that were reaped since the statistics was reset. Note! This attribute doesn't have a setter since it is derived from the ReapedSession attr.
Returns:
The number of sessions.

getAverageReapDuration

long getAverageReapDuration()
Gets the average reap duration since the statistics was reset.
Returns:
The average reap duration.

getAverageReapedSessions

long getAverageReapedSessions()
Gets the average number of reaped sessions in a reap cycle since the statistics was reset.
Returns:
The average number of reaped sessions.

getMaxReapedSessions

long getMaxReapedSessions()
Gets the maximum number of sessions reaped in a reap cycle since the statistics was reset.
Returns:
The max number of sessions reaped.

getMaxReapDuration

long getMaxReapDuration()
Gets the maximum reap duration since the statistics was reset.
Returns:
The max reap duration.

resetStatistics

void resetStatistics()
Resets the statistics held by this object.

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.