public class FineSessionAttributes<V> extends Object implements SessionAttributes
| Constructor and Description |
|---|
FineSessionAttributes(String id,
Map<String,UUID> names,
org.infinispan.Cache<SessionAttributeNamesKey,Map<String,UUID>> namesCache,
org.infinispan.Cache<SessionAttributeKey,V> attributeCache,
Marshaller<Object,V> marshaller,
CacheProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getAttribute(String name) |
Set<String> |
getAttributeNames() |
Object |
removeAttribute(String name) |
Object |
setAttribute(String name,
Object attribute) |
public FineSessionAttributes(String id, Map<String,UUID> names, org.infinispan.Cache<SessionAttributeNamesKey,Map<String,UUID>> namesCache, org.infinispan.Cache<SessionAttributeKey,V> attributeCache, Marshaller<Object,V> marshaller, CacheProperties properties)
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()
close in interface AutoCloseableCopyright © 2019 JBoss by Red Hat. All rights reserved.