public class DistributableSessionManagerStatistics extends Object implements RecordableSessionManagerStatistics
Constructor and Description |
---|
DistributableSessionManagerStatistics(ActiveSessionStatistics activeSessionStatistics,
InactiveSessionStatistics inactiveSessionStatistics) |
Modifier and Type | Method and Description |
---|---|
long |
getActiveSessionCount() |
long |
getAverageSessionAliveTime() |
long |
getCreatedSessionCount() |
long |
getExpiredSessionCount() |
long |
getMaxActiveSessions() |
long |
getMaxSessionAliveTime() |
long |
getRejectedSessions() |
long |
getStartTime() |
void |
record(io.undertow.server.session.Session object)
Records the specified object
|
void |
reset()
Resets any previously recorded objects
|
public DistributableSessionManagerStatistics(ActiveSessionStatistics activeSessionStatistics, InactiveSessionStatistics inactiveSessionStatistics)
public void record(io.undertow.server.session.Session object)
Recordable
record
in interface Recordable<io.undertow.server.session.Session>
object
- an object to recordpublic void reset()
Recordable
reset
in interface Recordable<io.undertow.server.session.Session>
public long getCreatedSessionCount()
getCreatedSessionCount
in interface io.undertow.server.session.SessionManagerStatistics
public long getMaxActiveSessions()
getMaxActiveSessions
in interface io.undertow.server.session.SessionManagerStatistics
public long getActiveSessionCount()
getActiveSessionCount
in interface io.undertow.server.session.SessionManagerStatistics
public long getExpiredSessionCount()
getExpiredSessionCount
in interface io.undertow.server.session.SessionManagerStatistics
public long getRejectedSessions()
getRejectedSessions
in interface io.undertow.server.session.SessionManagerStatistics
public long getMaxSessionAliveTime()
getMaxSessionAliveTime
in interface io.undertow.server.session.SessionManagerStatistics
public long getAverageSessionAliveTime()
getAverageSessionAliveTime
in interface io.undertow.server.session.SessionManagerStatistics
public long getStartTime()
getStartTime
in interface io.undertow.server.session.SessionManagerStatistics
Copyright © 2017 JBoss by Red Hat. All rights reserved.