Class CompositeImmutableSessionFactory<MV,AV>
java.lang.Object
org.wildfly.clustering.web.cache.session.CompositeImmutableSessionFactory<MV,AV>
- All Implemented Interfaces:
Locator<String,,Map.Entry<MV, AV>> ImmutableSessionFactory<MV,AV>
- Direct Known Subclasses:
CompositeSessionFactory
public class CompositeImmutableSessionFactory<MV,AV>
extends Object
implements ImmutableSessionFactory<MV,AV>
Generic immutable session factory implementation - independent of cache mapping strategy.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeImmutableSessionFactory(ImmutableSessionMetaDataFactory<MV> metaDataFactory, ImmutableSessionAttributesFactory<AV> attributesFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateImmutableSession(String id, ImmutableSessionMetaData metaData, ImmutableSessionAttributes attributes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.web.cache.session.ImmutableSessionFactory
createImmutableSession
-
Constructor Details
-
CompositeImmutableSessionFactory
public CompositeImmutableSessionFactory(ImmutableSessionMetaDataFactory<MV> metaDataFactory, ImmutableSessionAttributesFactory<AV> attributesFactory)
-
-
Method Details
-
findValue
-
tryValue
-
getMetaDataFactory
- Specified by:
getMetaDataFactoryin interfaceImmutableSessionFactory<MV,AV>
-
getAttributesFactory
- Specified by:
getAttributesFactoryin interfaceImmutableSessionFactory<MV,AV>
-
createImmutableSession
public ImmutableSession createImmutableSession(String id, ImmutableSessionMetaData metaData, ImmutableSessionAttributes attributes) - Specified by:
createImmutableSessionin interfaceImmutableSessionFactory<MV,AV>
-