Class MutableUserSessions<D,S>
java.lang.Object
org.wildfly.clustering.session.cache.user.MutableUserSessions<D,S>
- Type Parameters:
D- the deployment typeS- the session type
- All Implemented Interfaces:
UserSessions<D,S>
A mutable user sessions implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionMutableUserSessions(Map<D, S> sessions, org.wildfly.clustering.cache.CacheEntryMutator mutator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSession(D deployment, S session) getSession(D deployment) removeSession(D deployment)
-
Constructor Details
-
MutableUserSessions
-
-
Method Details
-
getDeployments
- Specified by:
getDeploymentsin interfaceUserSessions<D,S>
-
getSession
- Specified by:
getSessionin interfaceUserSessions<D,S>
-
removeSession
- Specified by:
removeSessionin interfaceUserSessions<D,S>
-
addSession
- Specified by:
addSessionin interfaceUserSessions<D,S>
-