Class ClientSessionPersistentChangelogBasedTransaction
java.lang.Object
org.keycloak.models.AbstractKeycloakTransaction
org.keycloak.models.sessions.infinispan.changes.PersistentSessionsChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity>
org.keycloak.models.sessions.infinispan.changes.ClientSessionPersistentChangelogBasedTransaction
- All Implemented Interfaces:
KeycloakTransaction
,SessionsChangelogBasedTransaction<UUID,
AuthenticatedClientSessionEntity>
public class ClientSessionPersistentChangelogBasedTransaction
extends PersistentSessionsChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class org.keycloak.models.AbstractKeycloakTransaction
AbstractKeycloakTransaction.TransactionState
-
Field Summary
Fields inherited from class org.keycloak.models.sessions.infinispan.changes.PersistentSessionsChangelogBasedTransaction
kcSession, offlineUpdates, updates
Fields inherited from class org.keycloak.models.AbstractKeycloakTransaction
state
-
Constructor Summary
ConstructorDescriptionClientSessionPersistentChangelogBasedTransaction
(KeycloakSession session, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> cache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<AuthenticatedClientSessionEntity> lifespanMsLoader, SessionFunction<AuthenticatedClientSessionEntity> maxIdleTimeMsLoader, SessionFunction<AuthenticatedClientSessionEntity> offlineLifespanMsLoader, SessionFunction<AuthenticatedClientSessionEntity> offlineMaxIdleTimeMsLoader, UserSessionPersistentChangelogBasedTransaction userSessionTx, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<UUID> serializerOnline, SerializeExecutionsByKey<UUID> serializerOffline) -
Method Summary
Modifier and TypeMethodDescriptionget
(RealmModel realm, ClientModel client, UserSessionModel userSession, UUID key, boolean offline) Methods inherited from class org.keycloak.models.sessions.infinispan.changes.PersistentSessionsChangelogBasedTransaction
addTask, addTask, commitImpl, get, getCache, getLifespanMsLoader, getMaxIdleMsLoader, getUpdates, reloadEntityInCurrentTransaction, rollbackImpl
Methods inherited from class org.keycloak.models.AbstractKeycloakTransaction
begin, commit, getRollbackOnly, getState, isActive, rollback, setRollbackOnly
-
Constructor Details
-
ClientSessionPersistentChangelogBasedTransaction
public ClientSessionPersistentChangelogBasedTransaction(KeycloakSession session, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> cache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<AuthenticatedClientSessionEntity> lifespanMsLoader, SessionFunction<AuthenticatedClientSessionEntity> maxIdleTimeMsLoader, SessionFunction<AuthenticatedClientSessionEntity> offlineLifespanMsLoader, SessionFunction<AuthenticatedClientSessionEntity> offlineMaxIdleTimeMsLoader, UserSessionPersistentChangelogBasedTransaction userSessionTx, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<UUID> serializerOnline, SerializeExecutionsByKey<UUID> serializerOffline)
-
-
Method Details
-
get
public SessionEntityWrapper<AuthenticatedClientSessionEntity> get(RealmModel realm, ClientModel client, UserSessionModel userSession, UUID key, boolean offline)
-