public class CoarseSessionAttributesFactory<V> extends Object implements SessionAttributesFactory<Map.Entry<Map<String,Object>,V>>
SessionAttributesFactory for coarse granularity sessions, where all session attributes are stored in a single cache entry.| Constructor and Description |
|---|
CoarseSessionAttributesFactory(org.infinispan.Cache<SessionAttributesKey,V> cache,
Marshaller<Map<String,Object>,V> marshaller,
CacheProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSessionAttributes |
createImmutableSessionAttributes(String id,
Map.Entry<Map<String,Object>,V> entry) |
SessionAttributes |
createSessionAttributes(String id,
Map.Entry<Map<String,Object>,V> entry) |
Map.Entry<Map<String,Object>,V> |
createValue(String id,
Void context) |
void |
evicted(org.infinispan.notifications.cachelistener.event.CacheEntriesEvictedEvent<Key<String>,?> event) |
Map.Entry<Map<String,Object>,V> |
findValue(String id) |
boolean |
remove(String id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittryValuepurgepublic CoarseSessionAttributesFactory(org.infinispan.Cache<SessionAttributesKey,V> cache, Marshaller<Map<String,Object>,V> marshaller, CacheProperties properties)
public boolean remove(String id)
remove in interface org.wildfly.clustering.ee.Remover<String>public SessionAttributes createSessionAttributes(String id, Map.Entry<Map<String,Object>,V> entry)
createSessionAttributes in interface SessionAttributesFactory<Map.Entry<Map<String,Object>,V>>public ImmutableSessionAttributes createImmutableSessionAttributes(String id, Map.Entry<Map<String,Object>,V> entry)
createImmutableSessionAttributes in interface SessionAttributesFactory<Map.Entry<Map<String,Object>,V>>Copyright © 2018 JBoss by Red Hat. All rights reserved.