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> org.wildfly.clustering.server.Registration,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
-
Field Summary
Fields inherited from interface org.wildfly.clustering.server.Registration
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionDetachedSessionAttributes(Supplier<B> batchFactory, Supplier<org.wildfly.clustering.session.Session<C>> sessionFactory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.wildfly.clustering.session.cache.attributes.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 interfaceorg.wildfly.clustering.server.Registration
-