public class CoarseSessionAttributesFactory<K,V> extends Object implements SessionAttributesFactory<K,Map.Entry<Map<String,Object>,V>>
Constructor and Description |
---|
CoarseSessionAttributesFactory(org.infinispan.client.hotrod.RemoteCache<SessionAttributesKey<K>,V> cache,
org.wildfly.clustering.marshalling.spi.Marshaller<Map<String,Object>,V> marshaller) |
Modifier and Type | Method and Description |
---|---|
org.wildfly.clustering.web.session.ImmutableSessionAttributes |
createImmutableSessionAttributes(K id,
Map.Entry<Map<String,Object>,V> entry) |
SessionAttributes |
createSessionAttributes(K id,
Map.Entry<Map<String,Object>,V> entry) |
Map.Entry<Map<String,Object>,V> |
createValue(K id,
Void context) |
Map.Entry<Map<String,Object>,V> |
findValue(K id) |
boolean |
remove(K id) |
public SessionAttributes createSessionAttributes(K id, Map.Entry<Map<String,Object>,V> entry)
createSessionAttributes
in interface SessionAttributesFactory<K,Map.Entry<Map<String,Object>,V>>
public org.wildfly.clustering.web.session.ImmutableSessionAttributes createImmutableSessionAttributes(K id, Map.Entry<Map<String,Object>,V> entry)
createImmutableSessionAttributes
in interface SessionAttributesFactory<K,Map.Entry<Map<String,Object>,V>>
Copyright © 2017 JBoss by Red Hat. All rights reserved.