Class RecordableInactiveSessionStatistics
- java.lang.Object
-
- org.wildfly.clustering.web.undertow.session.RecordableInactiveSessionStatistics
-
- All Implemented Interfaces:
org.wildfly.clustering.ee.Recordable<org.wildfly.clustering.web.session.ImmutableSessionMetaData>,org.wildfly.clustering.web.session.InactiveSessionStatistics
public class RecordableInactiveSessionStatistics extends Object implements org.wildfly.clustering.web.session.InactiveSessionStatistics, org.wildfly.clustering.ee.Recordable<org.wildfly.clustering.web.session.ImmutableSessionMetaData>
Records statistics for inactive sessions.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description RecordableInactiveSessionStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExpiredSessionCount()DurationgetMaxSessionLifetime()DurationgetMeanSessionLifetime()voidrecord(org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData)voidreset()
-
-
-
Method Detail
-
record
public void record(org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData)
- Specified by:
recordin interfaceorg.wildfly.clustering.ee.Recordable<org.wildfly.clustering.web.session.ImmutableSessionMetaData>
-
getMeanSessionLifetime
public Duration getMeanSessionLifetime()
- Specified by:
getMeanSessionLifetimein interfaceorg.wildfly.clustering.web.session.InactiveSessionStatistics
-
getMaxSessionLifetime
public Duration getMaxSessionLifetime()
- Specified by:
getMaxSessionLifetimein interfaceorg.wildfly.clustering.web.session.InactiveSessionStatistics
-
getExpiredSessionCount
public long getExpiredSessionCount()
- Specified by:
getExpiredSessionCountin interfaceorg.wildfly.clustering.web.session.InactiveSessionStatistics
-
reset
public void reset()
- Specified by:
resetin interfaceorg.wildfly.clustering.ee.Recordable<org.wildfly.clustering.web.session.ImmutableSessionMetaData>
-
-