Top Description Methods
io.undertow.server.session

public Interface SessionManagerStatistics

Known Direct Implementers
io.undertow.server.session.InMemorySessionManager

Optional interface that can be implemented by io.undertow.server.session.SessionManager implementations that provides session manager statistics.
Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

The number of active sessions
getActiveSessionCount
()

public long

Returns:

The average session lifetime in milliseconds
getAverageSessionAliveTime
()

public long

Returns:

The number of sessions that this session manager has created
getCreatedSessionCount
()

public long

Returns:

The number of expired sessions
getExpiredSessionCount
()

public default long

Returns:

the highest number of sessions that have been active at a single time, or -1 if this statistic is not supported
getHighestSessionCount
()

public long

Returns:

the maximum number of sessions this session manager supports
getMaxActiveSessions
()

public long

Returns:

The longest a session has been alive for in milliseconds
getMaxSessionAliveTime
()

public long

Returns:

The number of rejected sessions
getRejectedSessions
()

public long

Returns:

The timestamp at which the session manager started
getStartTime
()

Method Detail

getActiveSessionCountback to summary
public long getActiveSessionCount()
Returns:long

The number of active sessions

getAverageSessionAliveTimeback to summary
public long getAverageSessionAliveTime()
Returns:long

The average session lifetime in milliseconds

getCreatedSessionCountback to summary
public long getCreatedSessionCount()
Returns:long

The number of sessions that this session manager has created

getExpiredSessionCountback to summary
public long getExpiredSessionCount()
Returns:long

The number of expired sessions

getHighestSessionCountback to summary
public default long getHighestSessionCount()
Returns:long

the highest number of sessions that have been active at a single time, or -1 if this statistic is not supported

getMaxActiveSessionsback to summary
public long getMaxActiveSessions()
Returns:long

the maximum number of sessions this session manager supports

getMaxSessionAliveTimeback to summary
public long getMaxSessionAliveTime()
Returns:long

The longest a session has been alive for in milliseconds

getRejectedSessionsback to summary
public long getRejectedSessions()
Returns:long

The number of rejected sessions

getStartTimeback to summary
public long getStartTime()
Returns:long

The timestamp at which the session manager started