Class ClientSessionChangeLogTransaction
java.lang.Object
org.keycloak.models.sessions.infinispan.remote.transaction.RemoteChangeLogTransaction<ClientSessionKey,RemoteAuthenticatedClientSessionEntity,AuthenticatedClientSessionUpdater,ClientSessionQueryConditionalRemover>
org.keycloak.models.sessions.infinispan.remote.transaction.ClientSessionChangeLogTransaction
- All Implemented Interfaces:
NonBlockingTransaction
public class ClientSessionChangeLogTransaction
extends RemoteChangeLogTransaction<ClientSessionKey,RemoteAuthenticatedClientSessionEntity,AuthenticatedClientSessionUpdater,ClientSessionQueryConditionalRemover>
Syntactic sugar for
RemoteChangeLogTransaction<SessionKey, AuthenticatedClientSessionEntity, AuthenticatedClientSessionUpdater,
UserAndClientSessionConditionalRemover<AuthenticatedClientSessionEntity>>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.models.sessions.infinispan.remote.transaction.RemoteChangeLogTransaction
RemoteChangeLogTransaction.SharedState<K,
V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
removeByUserSessionId
(String userSessionId) Remove all client sessions belonging to the user session.void
Wraps a Query project results, where the first argument is the entity, and the second the version.Methods inherited from class org.keycloak.models.sessions.infinispan.remote.transaction.RemoteChangeLogTransaction
asyncCommit, asyncRollback, create, get, getAsync, getCache, getCachedEntities, remove, wrap, wrap
-
Constructor Details
-
Method Details
-
wrapFromProjection
Wraps a Query project results, where the first argument is the entity, and the second the version. -
removeByUserSessionId
Remove all client sessions belonging to the user session. -
getClientSessions
- Returns:
- A stream with all currently cached
AuthenticatedClientSessionUpdater
in this transaction.
-