Class CompositeSessionFactory<C,MV extends Contextual<SC>,AV,SC>
java.lang.Object
org.wildfly.clustering.session.cache.CompositeImmutableSessionFactory<MV,AV>
org.wildfly.clustering.session.cache.CompositeSessionFactory<C,MV,AV,SC>
- Type Parameters:
C- the session manager context typeMV- the session metadata typeAV- the session attributes typeSC- the session context type
- All Implemented Interfaces:
AutoCloseable,BiCacheEntryCreator<String,,MV, AV, Duration> BiCacheEntryLocator<String,,MV, AV> CacheEntryCreator<String,,Map.Entry<MV, AV>, Duration> CacheEntryLocator<String,,Map.Entry<MV, AV>> CacheEntryRemover<String>,ImmutableSessionFactory<MV,,AV> SessionFactory<C,MV, AV, SC>
- Direct Known Subclasses:
HotRodSessionFactory
public class CompositeSessionFactory<C,MV extends Contextual<SC>,AV,SC>
extends CompositeImmutableSessionFactory<MV,AV>
implements SessionFactory<C,MV,AV,SC>
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeSessionFactory(SessionMetaDataFactory<MV> metaDataFactory, SessionAttributesFactory<C, AV> attributesFactory, CacheProperties properties, Supplier<SC> localContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.wildfly.clustering.session.cache.CompositeImmutableSessionFactory
createImmutableSession, getCachePropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.cache.BiCacheEntryCreator
createValueAsyncMethods inherited from interface org.wildfly.clustering.cache.BiCacheEntryLocator
findValueAsync, tryValueAsyncMethods inherited from interface org.wildfly.clustering.cache.CacheEntryCreator
createValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator
findValue, tryValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover
purge, removeMethods inherited from interface org.wildfly.clustering.session.cache.ImmutableSessionFactory
createImmutableSession, createImmutableSession, findEntry, getCacheProperties, tryEntryMethods inherited from interface org.wildfly.clustering.session.cache.SessionFactory
close, createEntry, purgeAsync, removeAsync
-
Constructor Details
-
CompositeSessionFactory
public CompositeSessionFactory(SessionMetaDataFactory<MV> metaDataFactory, SessionAttributesFactory<C, AV> attributesFactory, CacheProperties properties, Supplier<SC> localContextFactory)
-
-
Method Details
-
getMetaDataFactory
- Specified by:
getMetaDataFactoryin interfaceImmutableSessionFactory<C,MV extends Contextual<SC>> - Specified by:
getMetaDataFactoryin interfaceSessionFactory<C,MV extends Contextual<SC>, AV, SC> - Overrides:
getMetaDataFactoryin classCompositeImmutableSessionFactory<MV extends Contextual<SC>,AV>
-
getAttributesFactory
- Specified by:
getAttributesFactoryin interfaceImmutableSessionFactory<C,MV extends Contextual<SC>> - Specified by:
getAttributesFactoryin interfaceSessionFactory<C,MV extends Contextual<SC>, AV, SC> - Overrides:
getAttributesFactoryin classCompositeImmutableSessionFactory<MV extends Contextual<SC>,AV>
-
getContextFactory
- Specified by:
getContextFactoryin interfaceSessionFactory<C,MV extends Contextual<SC>, AV, SC>
-
createSession
- Specified by:
createSessionin interfaceSessionFactory<C,MV extends Contextual<SC>, AV, SC>
-