Class CoarseSessionAttributesFactory<S,C,L,V>
java.lang.Object
org.wildfly.clustering.session.infinispan.remote.attributes.CoarseSessionAttributesFactory<S,C,L,V>
- All Implemented Interfaces:
AutoCloseable,org.wildfly.clustering.cache.Creator<String,,Map<String, Object>, Void> org.wildfly.clustering.cache.Locator<String,,Map<String, Object>> org.wildfly.clustering.cache.Remover<String>,org.wildfly.clustering.server.Registration,ImmutableSessionAttributesFactory<Map<String,,Object>> SessionAttributesFactory<C,Map<String, Object>>
public class CoarseSessionAttributesFactory<S,C,L,V>
extends Object
implements SessionAttributesFactory<C,Map<String,Object>>
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.server.Registration
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionCoarseSessionAttributesFactory(HotRodSessionAttributesFactoryConfiguration<S, C, L, Map<String, Object>, V> configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.wildfly.clustering.session.ImmutableSessionAttributescreateImmutableSessionAttributes(String id, Map<String, Object> values) createSessionAttributes(String id, Map<String, Object> attributes, org.wildfly.clustering.session.ImmutableSessionMetaData metaData, C context) createValueAsync(String id, Void context) findValueAsync(String id) removeAsync(String id) tryValueAsync(String id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.cache.Creator
createValueMethods inherited from interface org.wildfly.clustering.session.cache.attributes.ImmutableSessionAttributesFactory
createImmutableSessionAttributesMethods inherited from interface org.wildfly.clustering.cache.Locator
findValue, tryValueMethods inherited from interface org.wildfly.clustering.cache.Remover
purge, purgeAsync, removeMethods inherited from interface org.wildfly.clustering.session.cache.attributes.SessionAttributesFactory
createSessionAttributes
-
Constructor Details
-
CoarseSessionAttributesFactory
-
-
Method Details
-
createValueAsync
-
findValueAsync
-
tryValueAsync
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.wildfly.clustering.cache.Remover<S>
-
createSessionAttributes
public SessionAttributes createSessionAttributes(String id, Map<String, Object> attributes, org.wildfly.clustering.session.ImmutableSessionMetaData metaData, C context) - Specified by:
createSessionAttributesin interfaceSessionAttributesFactory<S,C>
-
createImmutableSessionAttributes
public org.wildfly.clustering.session.ImmutableSessionAttributes createImmutableSessionAttributes(String id, Map<String, Object> values) - Specified by:
createImmutableSessionAttributesin interfaceImmutableSessionAttributesFactory<S>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.wildfly.clustering.server.Registration
-