Class DistributableInactiveSessionStatistics
java.lang.Object
org.wildfly.clustering.web.undertow.session.DistributableInactiveSessionStatistics
- All Implemented Interfaces:
Recordable<ImmutableSessionMetaData>,InactiveSessionStatistics,RecordableInactiveSessionStatistics
public class DistributableInactiveSessionStatistics
extends Object
implements RecordableInactiveSessionStatistics
Records statistics for inactive sessions.
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidrecord(ImmutableSessionMetaData metaData) voidreset()
-
Constructor Details
-
DistributableInactiveSessionStatistics
public DistributableInactiveSessionStatistics()
-
-
Method Details
-
record
- Specified by:
recordin interfaceRecordable<ImmutableSessionMetaData>
-
getMeanSessionLifetime
- Specified by:
getMeanSessionLifetimein interfaceInactiveSessionStatistics
-
getMaxSessionLifetime
- Specified by:
getMaxSessionLifetimein interfaceInactiveSessionStatistics
-
getExpiredSessionCount
public long getExpiredSessionCount()- Specified by:
getExpiredSessionCountin interfaceInactiveSessionStatistics
-
reset
public void reset()- Specified by:
resetin interfaceRecordable<ImmutableSessionMetaData>
-