public class FineSessionAttributes<NK,K,V> extends Object implements SessionAttributes
| Constructor and Description |
|---|
FineSessionAttributes(NK key,
AtomicReference<Map<String,UUID>> names,
Map<NK,Map<String,UUID>> namesCache,
Function<UUID,K> keyFactory,
Map<K,V> attributeCache,
org.wildfly.clustering.marshalling.spi.Marshaller<Object,V> marshaller,
org.wildfly.clustering.ee.MutatorFactory<K,V> mutatorFactory,
org.wildfly.clustering.ee.Immutability immutability,
CacheProperties properties,
SessionAttributeActivationNotifier notifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Signals the end of the transient lifecycle of this session, typically triggered at the end of a given request.
|
Object |
getAttribute(String name) |
Set<String> |
getAttributeNames() |
Object |
removeAttribute(String name) |
Object |
setAttribute(String name,
Object attribute) |
public FineSessionAttributes(NK key, AtomicReference<Map<String,UUID>> names, Map<NK,Map<String,UUID>> namesCache, Function<UUID,K> keyFactory, Map<K,V> attributeCache, org.wildfly.clustering.marshalling.spi.Marshaller<Object,V> marshaller, org.wildfly.clustering.ee.MutatorFactory<K,V> mutatorFactory, org.wildfly.clustering.ee.Immutability immutability, CacheProperties properties, SessionAttributeActivationNotifier notifier)
public Object removeAttribute(String name)
removeAttribute in interface SessionAttributespublic Object setAttribute(String name, Object attribute)
setAttribute in interface SessionAttributespublic Object getAttribute(String name)
getAttribute in interface ImmutableSessionAttributespublic Set<String> getAttributeNames()
getAttributeNames in interface ImmutableSessionAttributespublic void close()
SessionAttributesclose in interface AutoCloseableCopyright © 2021 JBoss by Red Hat. All rights reserved.