Class DistributableSessionManagerStatistics
- java.lang.Object
-
- org.wildfly.clustering.web.undertow.session.DistributableSessionManagerStatistics
-
- All Implemented Interfaces:
io.undertow.server.session.SessionManagerStatistics,Recordable<io.undertow.server.session.Session>,RecordableSessionManagerStatistics
public class DistributableSessionManagerStatistics extends Object implements RecordableSessionManagerStatistics
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description DistributableSessionManagerStatistics(ActiveSessionStatistics activeSessionStatistics, InactiveSessionStatistics inactiveSessionStatistics, Integer maxActiveSessions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetActiveSessionCount()longgetAverageSessionAliveTime()longgetCreatedSessionCount()longgetExpiredSessionCount()longgetMaxActiveSessions()longgetMaxSessionAliveTime()longgetRejectedSessions()longgetStartTime()voidrecord(io.undertow.server.session.Session object)voidreset()
-
-
-
Constructor Detail
-
DistributableSessionManagerStatistics
public DistributableSessionManagerStatistics(ActiveSessionStatistics activeSessionStatistics, InactiveSessionStatistics inactiveSessionStatistics, Integer maxActiveSessions)
-
-
Method Detail
-
record
public void record(io.undertow.server.session.Session object)
- Specified by:
recordin interfaceRecordable<io.undertow.server.session.Session>
-
reset
public void reset()
- Specified by:
resetin interfaceRecordable<io.undertow.server.session.Session>
-
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
-
-