public class FineSessionAttributes<K,V> extends FineImmutableSessionAttributes<K,V> implements SessionAttributes
| Constructor and Description |
|---|
FineSessionAttributes(K key,
AtomicInteger sequence,
ConcurrentMap<String,Integer> names,
org.wildfly.clustering.ee.Mutator namesMutator,
org.infinispan.client.hotrod.RemoteCache<SessionAttributeKey<K>,V> cache,
Function<Integer,SessionAttributeKey<K>> keyFactory,
org.wildfly.clustering.marshalling.spi.Marshaller<Object,V> marshaller) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getAttribute(String name) |
Object |
removeAttribute(String name) |
Object |
setAttribute(String name,
Object attribute) |
getAttributeNames, readpublic FineSessionAttributes(K key, AtomicInteger sequence, ConcurrentMap<String,Integer> names, org.wildfly.clustering.ee.Mutator namesMutator, org.infinispan.client.hotrod.RemoteCache<SessionAttributeKey<K>,V> cache, Function<Integer,SessionAttributeKey<K>> keyFactory, org.wildfly.clustering.marshalling.spi.Marshaller<Object,V> marshaller)
public Object removeAttribute(String name)
removeAttribute in interface org.wildfly.clustering.web.session.SessionAttributespublic Object setAttribute(String name, Object attribute)
setAttribute in interface org.wildfly.clustering.web.session.SessionAttributespublic Object getAttribute(String name)
getAttribute in interface org.wildfly.clustering.web.session.ImmutableSessionAttributesgetAttribute in class FineImmutableSessionAttributes<K,V>public void close()
close in interface AutoCloseableCopyright © 2017 JBoss by Red Hat. All rights reserved.