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, read
public 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.SessionAttributes
public Object setAttribute(String name, Object attribute)
setAttribute
in interface org.wildfly.clustering.web.session.SessionAttributes
public Object getAttribute(String name)
getAttribute
in interface org.wildfly.clustering.web.session.ImmutableSessionAttributes
getAttribute
in class FineImmutableSessionAttributes<K,V>
public void close()
close
in interface AutoCloseable
Copyright © 2017 JBoss by Red Hat. All rights reserved.