Class AbstractSessionManager<DC,MV,AV,SC,B extends org.wildfly.clustering.cache.batch.Batch>
java.lang.Object
org.wildfly.clustering.session.cache.AbstractSessionManager<DC,MV,AV,SC,B>
- All Implemented Interfaces:
org.wildfly.clustering.server.manager.Manager<String,,B> org.wildfly.clustering.server.manager.ManagerConfiguration<String>,org.wildfly.clustering.server.manager.Restartable,SessionManager<SC,,B> SessionStatistics
public abstract class AbstractSessionManager<DC,MV,AV,SC,B extends org.wildfly.clustering.cache.batch.Batch>
extends Object
implements SessionManager<SC,B>, SessionStatistics
- Author:
- Paul Ferraro
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSessionManager(SessionManagerConfiguration<DC> configuration, org.wildfly.clustering.cache.CacheConfiguration<B> cacheConfiguration, SessionFactory<DC, MV, AV, SC> factory, Consumer<ImmutableSession> closeTask) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.server.manager.Restartable
start, stopMethods inherited from interface org.wildfly.clustering.session.SessionManager
createSession, findImmutableSession, findSessionMethods inherited from interface org.wildfly.clustering.session.SessionStatistics
getActiveSessionCount, getActiveSessions, getSessions
-
Field Details
-
logger
protected final org.jboss.logging.Logger logger
-
-
Constructor Details
-
AbstractSessionManager
protected AbstractSessionManager(SessionManagerConfiguration<DC> configuration, org.wildfly.clustering.cache.CacheConfiguration<B> cacheConfiguration, SessionFactory<DC, MV, AV, SC> factory, Consumer<ImmutableSession> closeTask)
-
-
Method Details
-
getIdentifierFactory
- Specified by:
getIdentifierFactoryin interfaceorg.wildfly.clustering.server.manager.ManagerConfiguration<DC>
-
getBatcher
-
createSessionAsync
- Specified by:
createSessionAsyncin interfaceSessionManager<DC,MV>
-
findSessionAsync
- Specified by:
findSessionAsyncin interfaceSessionManager<DC,MV>
-
findImmutableSessionAsync
- Specified by:
findImmutableSessionAsyncin interfaceSessionManager<DC,MV>
-
getStatistics
- Specified by:
getStatisticsin interfaceSessionManager<DC,MV>
-