Class DistributableSessionManagerStatistics
java.lang.Object
org.wildfly.clustering.web.undertow.session.DistributableSessionManagerStatistics
- All Implemented Interfaces:
io.undertow.server.session.SessionManagerStatistics,Recordable<ImmutableSessionMetaData>,RecordableSessionManagerStatistics
public class DistributableSessionManagerStatistics
extends Object
implements RecordableSessionManagerStatistics
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionDistributableSessionManagerStatistics(ActiveSessionStatistics activeSessionStatistics, RecordableInactiveSessionStatistics inactiveSessionStatistics, Integer maxActiveSessions) -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglonglonglongvoidrecord(ImmutableSessionMetaData metaData) voidreset()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.undertow.server.session.SessionManagerStatistics
getHighestSessionCount
-
Constructor Details
-
DistributableSessionManagerStatistics
public DistributableSessionManagerStatistics(ActiveSessionStatistics activeSessionStatistics, RecordableInactiveSessionStatistics inactiveSessionStatistics, Integer maxActiveSessions)
-
-
Method Details
-
getInactiveSessionRecorder
- Specified by:
getInactiveSessionRecorderin interfaceRecordableSessionManagerStatistics
-
record
- Specified by:
recordin interfaceRecordable<ImmutableSessionMetaData>
-
reset
public void reset()- Specified by:
resetin interfaceRecordable<ImmutableSessionMetaData>
-
getCreatedSessionCount
public long getCreatedSessionCount()- Specified by:
getCreatedSessionCountin interfaceio.undertow.server.session.SessionManagerStatistics
-
getMaxActiveSessions
public long getMaxActiveSessions()- Specified by:
getMaxActiveSessionsin interfaceio.undertow.server.session.SessionManagerStatistics
-
getActiveSessionCount
public long getActiveSessionCount()- Specified by:
getActiveSessionCountin interfaceio.undertow.server.session.SessionManagerStatistics
-
getExpiredSessionCount
public long getExpiredSessionCount()- Specified by:
getExpiredSessionCountin interfaceio.undertow.server.session.SessionManagerStatistics
-
getRejectedSessions
public long getRejectedSessions()- Specified by:
getRejectedSessionsin interfaceio.undertow.server.session.SessionManagerStatistics
-
getMaxSessionAliveTime
public long getMaxSessionAliveTime()- Specified by:
getMaxSessionAliveTimein interfaceio.undertow.server.session.SessionManagerStatistics
-
getAverageSessionAliveTime
public long getAverageSessionAliveTime()- Specified by:
getAverageSessionAliveTimein interfaceio.undertow.server.session.SessionManagerStatistics
-
getStartTime
public long getStartTime()- Specified by:
getStartTimein interfaceio.undertow.server.session.SessionManagerStatistics
-