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:
org.wildfly.clustering.server.manager.Manager<String>,org.wildfly.clustering.server.manager.ManagerConfiguration<String>,org.wildfly.clustering.server.manager.Service,org.wildfly.clustering.session.SessionManager<SC>,org.wildfly.clustering.session.SessionStatistics
Generic HotRod-based session manager implementation - independent of cache mapping strategy.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from class org.wildfly.clustering.session.cache.AbstractSessionManager
logger -
Constructor Summary
ConstructorsConstructorDescriptionHotRodSessionManager(Supplier<org.wildfly.clustering.session.SessionManager<SC>> manager, org.wildfly.clustering.session.SessionManagerConfiguration<C> configuration, SessionFactory<C, MV, AV, SC> factory, HotRodSessionManagerConfiguration hotrod) -
Method Summary
Methods inherited from class org.wildfly.clustering.session.cache.AbstractSessionManager
createSessionAsync, findImmutableSessionAsync, findSessionAsync, getDetachedSession, getIdentifierFactory, getStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.session.SessionManager
createSession, findImmutableSession, findSessionMethods inherited from interface org.wildfly.clustering.session.SessionStatistics
getActiveSessionCount
-
Constructor Details
-
HotRodSessionManager
public HotRodSessionManager(Supplier<org.wildfly.clustering.session.SessionManager<SC>> manager, org.wildfly.clustering.session.SessionManagerConfiguration<C> configuration, SessionFactory<C, MV, AV, SC> factory, HotRodSessionManagerConfiguration hotrod)
-
-
Method Details
-
isStarted
public boolean isStarted() -
start
public void start() -
stop
public void stop() -
getBatchFactory
- Specified by:
getBatchFactoryin interfaceorg.wildfly.clustering.server.manager.Manager<C>- Overrides:
getBatchFactoryin classAbstractSessionManager<C,MV, AV, SC>
-
getActiveSessions
-
getSessions
-