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 Constructor Description DistributableInactiveSessionStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExpiredSessionCount()DurationgetMaxSessionLifetime()DurationgetMeanSessionLifetime()voidrecord(ImmutableSessionMetaData metaData)voidreset()
-
-
-
Method Detail
-
record
public void record(ImmutableSessionMetaData metaData)
- Specified by:
recordin interfaceRecordable<ImmutableSessionMetaData>
-
getMeanSessionLifetime
public Duration getMeanSessionLifetime()
- Specified by:
getMeanSessionLifetimein interfaceInactiveSessionStatistics
-
getMaxSessionLifetime
public Duration getMaxSessionLifetime()
- Specified by:
getMaxSessionLifetimein interfaceInactiveSessionStatistics
-
getExpiredSessionCount
public long getExpiredSessionCount()
- Specified by:
getExpiredSessionCountin interfaceInactiveSessionStatistics
-
reset
public void reset()
- Specified by:
resetin interfaceRecordable<ImmutableSessionMetaData>
-
-