Package org.wildfly.clustering.session
Interface SessionStatistics
- Type Parameters:
I- the session identifier type
public interface SessionStatistics
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault longReturns the identifiers of active sessions managed by this session manager.Returns the identifiers of all sessions managed by this session manager, including passive sessions.
-
Method Details
-
getActiveSessions
Returns the identifiers of active sessions managed by this session manager.- Returns:
- a set of session identifiers.
-
getSessions
Returns the identifiers of all sessions managed by this session manager, including passive sessions.- Returns:
- a set of session identifiers.
-
getActiveSessionCount
default long getActiveSessionCount()- Returns:
- The number of active sessions
-