Class ClientSessionChangeLogTransaction
java.lang.Object
org.keycloak.models.AbstractKeycloakTransaction
org.keycloak.models.sessions.infinispan.remote.transaction.RemoteChangeLogTransaction<ClientSessionKey,RemoteAuthenticatedClientSessionEntity,AuthenticatedClientSessionUpdater,ClientSessionQueryConditionalRemover>
   
org.keycloak.models.sessions.infinispan.remote.transaction.ClientSessionChangeLogTransaction
- All Implemented Interfaces:
 KeycloakTransaction
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> Nested classes/interfaces inherited from class org.keycloak.models.AbstractKeycloakTransaction
AbstractKeycloakTransaction.TransactionState - 
Field Summary
Fields inherited from class org.keycloak.models.AbstractKeycloakTransaction
state - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidremoveByUserSessionId(String userSessionId) Remove all client sessions belonging to the user session.voidWraps 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
commitAsync, commitImpl, create, get, getAsync, getCache, getCachedEntities, remove, rollbackImpl, wrap, wrapMethods inherited from class org.keycloak.models.AbstractKeycloakTransaction
begin, beginImpl, commit, getRollbackOnly, getState, isActive, rollback, setRollbackOnly 
- 
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 
AuthenticatedClientSessionUpdaterin this transaction. 
 
 -