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<DC,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 ImmutableSessioncreateImmutableSession(String id, Map.Entry<MV, AV> entry) createImmutableSession(String id, ImmutableSessionMetaData metaData, ImmutableSessionAttributes attributes) default Map.Entry<CompletionStage<MV>, CompletionStage<AV>> default Map.Entry<CompletionStage<MV>, CompletionStage<AV>> Methods inherited from interface org.wildfly.clustering.cache.BiLocator
findValueAsyncMethods inherited from interface org.wildfly.clustering.cache.Locator
findValue, tryValue, tryValueAsync
-
Method Details
-
getMetaDataFactory
ImmutableSessionMetaDataFactory<MV> getMetaDataFactory() -
getAttributesFactory
ImmutableSessionAttributesFactory<AV> getAttributesFactory() -
findEntry
-
tryEntry
-
createImmutableSession
-
createImmutableSession
ImmutableSession createImmutableSession(String id, ImmutableSessionMetaData metaData, ImmutableSessionAttributes attributes)
-