Class UserSessionPersistentChangelogBasedTransaction
java.lang.Object
org.keycloak.models.AbstractKeycloakTransaction
org.keycloak.models.sessions.infinispan.changes.PersistentSessionsChangelogBasedTransaction<String,UserSessionEntity>
org.keycloak.models.sessions.infinispan.changes.UserSessionPersistentChangelogBasedTransaction
- All Implemented Interfaces:
KeycloakTransaction
,SessionsChangelogBasedTransaction<String,
UserSessionEntity>
public class UserSessionPersistentChangelogBasedTransaction
extends PersistentSessionsChangelogBasedTransaction<String,UserSessionEntity>
-
Nested Class Summary
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
ConstructorDescriptionUserSessionPersistentChangelogBasedTransaction
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<UserSessionEntity> lifespanMsLoader, SessionFunction<UserSessionEntity> maxIdleTimeMsLoader, SessionFunction<UserSessionEntity> offlineLifespanMsLoader, SessionFunction<UserSessionEntity> offlineMaxIdleTimeMsLoader, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<String> serializerOnline, SerializeExecutionsByKey<String> serializerOffline) -
Method Summary
Modifier and TypeMethodDescriptionget
(RealmModel realm, String key, UserSessionModel userSession, boolean offline) boolean
isScheduledForRemove
(String 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, beginImpl, commit, getRollbackOnly, getState, isActive, rollback, setRollbackOnly
-
Constructor Details
-
UserSessionPersistentChangelogBasedTransaction
public UserSessionPersistentChangelogBasedTransaction(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<UserSessionEntity> lifespanMsLoader, SessionFunction<UserSessionEntity> maxIdleTimeMsLoader, SessionFunction<UserSessionEntity> offlineLifespanMsLoader, SessionFunction<UserSessionEntity> offlineMaxIdleTimeMsLoader, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<String> serializerOnline, SerializeExecutionsByKey<String> serializerOffline)
-
-
Method Details
-
get
public SessionEntityWrapper<UserSessionEntity> get(RealmModel realm, String key, UserSessionModel userSession, boolean offline) -
isScheduledForRemove
-