Class HotRodSessionManager<C,MV,AV,SC>
java.lang.Object
org.wildfly.clustering.session.cache.AbstractSessionManager<C,MV,AV,SC>
org.wildfly.clustering.session.infinispan.remote.HotRodSessionManager<C,MV,AV,SC>
- Type Parameters:
C- the session manager context typeMV- the meta-data value typeAV- the attributes value typeSC- the session context type
- All Implemented Interfaces:
Manager<String>, ManagerConfiguration<String>, Service, SessionManager<SC>, SessionStatistics
Generic HotRod-based session manager implementation - independent of cache mapping strategy.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from class AbstractSessionManager
logger -
Constructor Summary
ConstructorsConstructorDescriptionHotRodSessionManager(org.wildfly.clustering.session.infinispan.remote.HotRodSessionManager.Configuration<C, MV, AV, SC> configuration) Creates a session manager. -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifiers of active sessions managed by this session manager.Returns the identifiers of all sessions managed by this session manager, including passive sessions.Methods inherited from class AbstractSessionManager
createSessionAsync, findImmutableSessionAsync, findSessionAsync, getBatchFactory, getDetachedSession, getIdentifierFactory, getStatistics, isStarted, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SessionManager
createSession, createSession, createSessionAsync, findImmutableSession, findSessionMethods inherited from interface SessionStatistics
getActiveSessionCount
-
Constructor Details
-
HotRodSessionManager
-
-
Method Details
-
getActiveSessions
Description copied from interface:SessionStatisticsReturns the identifiers of active sessions managed by this session manager.- Returns:
- a set of session identifiers.
-
getSessions
Description copied from interface:SessionStatisticsReturns the identifiers of all sessions managed by this session manager, including passive sessions.- Returns:
- a set of session identifiers.
-