Class DetachedSessionAttributes<C, B extends org.wildfly.clustering.cache.batch.Batch>
java.lang.Object
org.wildfly.clustering.session.cache.attributes.DetachedSessionAttributes<C,B>
- Type Parameters:
C- the session context typeB- the batch type
- All Implemented Interfaces:
AutoCloseable, Map<String,Object>, SessionAttributes
public class DetachedSessionAttributes<C, B extends org.wildfly.clustering.cache.batch.Batch>
extends Object
implements SessionAttributes
A
SessionAttributes implementation for detached sessions.- Author:
- Paul Ferraro
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDetachedSessionAttributes(Supplier<B> batchFactory, Supplier<org.wildfly.clustering.session.Session<C>> sessionFactory) Creates a detached session attributes implementation. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface SessionAttributes
clear, containsKey, containsValue, isEmpty, put, putAll, size
-
Constructor Details
-
DetachedSessionAttributes
-
-
Method Details
-
keySet
-
entrySet
-
values
-
get
-
put
-
remove
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSessionAttributes
-