Interface ImmutableSessionFactory<MV,AV>
- All Superinterfaces:
org.wildfly.clustering.cache.BiLocator<String,,MV, AV> org.wildfly.clustering.cache.Locator<String,Map.Entry<MV, AV>>
- All Known Subinterfaces:
SessionFactory<C,MV, AV, SC>
- All Known Implementing Classes:
CompositeImmutableSessionFactory,CompositeSessionFactory
public interface ImmutableSessionFactory<MV,AV>
extends org.wildfly.clustering.cache.BiLocator<String,MV,AV>
Factory for creating an
ImmutableSession.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.wildfly.clustering.session.ImmutableSessioncreateImmutableSession(String id, Map.Entry<MV, AV> entry) org.wildfly.clustering.session.ImmutableSessioncreateImmutableSession(String id, org.wildfly.clustering.session.ImmutableSessionMetaData metaData, Map<String, Object> attributes) default Map.Entry<CompletionStage<MV>, CompletionStage<AV>> org.wildfly.clustering.cache.CachePropertiesdefault Map.Entry<CompletionStage<MV>, CompletionStage<AV>> Methods inherited from interface org.wildfly.clustering.cache.BiLocator
findValueAsync, tryValueAsyncMethods inherited from interface org.wildfly.clustering.cache.Locator
findValue, tryValue
-
Method Details
-
getMetaDataFactory
ImmutableSessionMetaDataFactory<MV> getMetaDataFactory() -
getAttributesFactory
ImmutableSessionAttributesFactory<AV> getAttributesFactory() -
getCacheProperties
org.wildfly.clustering.cache.CacheProperties getCacheProperties() -
findEntry
-
tryEntry
-
createImmutableSession
-
createImmutableSession
-