Class AbstractSessionManager<C,MV,AV,SC,B extends org.wildfly.clustering.cache.batch.Batch>
java.lang.Object
org.wildfly.clustering.session.cache.AbstractSessionManager<C,MV,AV,SC,B>
- Type Parameters:
C- the session manager context typeMV- the session metadata value typeAV- the session attribute value typeSC- the session context typeB- the batch type
- All Implemented Interfaces:
org.wildfly.clustering.server.manager.Manager<String,,B> org.wildfly.clustering.server.manager.ManagerConfiguration<String>,org.wildfly.clustering.server.manager.Restartable,org.wildfly.clustering.session.SessionManager<SC,,B> org.wildfly.clustering.session.SessionStatistics
public abstract class AbstractSessionManager<C,MV,AV,SC,B extends org.wildfly.clustering.cache.batch.Batch>
extends Object
implements org.wildfly.clustering.session.SessionManager<SC,B>, org.wildfly.clustering.session.SessionStatistics
An abstract
SessionManager implementation that delegates most implementation details to a SessionFactory.- Author:
- Paul Ferraro
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSessionManager(org.wildfly.clustering.session.SessionManagerConfiguration<C> configuration, org.wildfly.clustering.cache.CacheConfiguration<B> cacheConfiguration, SessionFactory<C, MV, AV, SC> factory, Consumer<org.wildfly.clustering.session.ImmutableSession> sessionCloseTask) -
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<org.wildfly.clustering.session.Session<SC>> CompletionStage<org.wildfly.clustering.session.ImmutableSession> CompletionStage<org.wildfly.clustering.session.Session<SC>> org.wildfly.clustering.cache.batch.Batcher<B> org.wildfly.clustering.session.SessionStatisticsMethods 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
-
-
Method Details
-
getIdentifierFactory
- Specified by:
getIdentifierFactoryin interfaceorg.wildfly.clustering.server.manager.ManagerConfiguration<C>
-
getBatcher
-
createSessionAsync
-
findSessionAsync
-
findImmutableSessionAsync
public CompletionStage<org.wildfly.clustering.session.ImmutableSession> findImmutableSessionAsync(String id) -
getStatistics
public org.wildfly.clustering.session.SessionStatistics getStatistics()
-