Uses of Class
org.keycloak.models.sessions.infinispan.changes.SessionEntityWrapper
Package
Description
-
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan
Modifier and TypeFieldDescriptionprotected final org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> InfinispanUserSessionProvider.clientSessionCache
protected final org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> PersistentUserSessionProvider.clientSessionCache
protected final org.infinispan.Cache<LoginFailureKey,
SessionEntityWrapper<LoginFailureEntity>> InfinispanUserLoginFailureProvider.loginFailureCache
protected final org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> InfinispanUserSessionProvider.offlineClientSessionCache
protected final org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> PersistentUserSessionProvider.offlineClientSessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.offlineSessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> PersistentUserSessionProvider.offlineSessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.sessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> PersistentUserSessionProvider.sessionCache
Modifier and TypeMethodDescriptionPersistentUserSessionProvider.importUserSession
(UserSessionModel persistentUserSession, boolean offline) PersistentUserSessionProvider.wrapPersistentEntity
(RealmModel realm, boolean offline, UserSessionModel persistentUserSession) Modifier and TypeMethodDescriptionprotected org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.getCache
(boolean offline) protected org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> PersistentUserSessionProvider.getCache
(boolean offline) protected org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> InfinispanUserSessionProvider.getClientSessionCache
(boolean offline) protected org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> PersistentUserSessionProvider.getClientSessionCache
(boolean offline) ModifierConstructorDescriptionInfinispanUserLoginFailureProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, org.infinispan.Cache<LoginFailureKey, SessionEntityWrapper<LoginFailureEntity>> loginFailureCache, SerializeExecutionsByKey<LoginFailureKey> serializer) InfinispanUserSessionProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, CrossDCLastSessionRefreshStore lastSessionRefreshStore, CrossDCLastSessionRefreshStore offlineLastSessionRefreshStore, PersisterLastSessionRefreshStore persisterLastSessionRefreshStore, InfinispanKeyGenerator keyGenerator, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> sessionCache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> clientSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineClientSessionCache, SessionFunction<UserSessionEntity> offlineSessionCacheEntryLifespanAdjuster, SessionFunction<AuthenticatedClientSessionEntity> offlineClientSessionCacheEntryLifespanAdjuster, SerializeExecutionsByKey<String> serializerSession, SerializeExecutionsByKey<String> serializerOfflineSession, SerializeExecutionsByKey<UUID> serializerClientSession, SerializeExecutionsByKey<UUID> serializerOfflineClientSession) PersistentUserSessionProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, CrossDCLastSessionRefreshStore lastSessionRefreshStore, CrossDCLastSessionRefreshStore offlineLastSessionRefreshStore, InfinispanKeyGenerator keyGenerator, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> sessionCache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> clientSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineClientSessionCache, ArrayBlockingQueue<PersistentUpdate> asyncQueuePersistentUpdate, SerializeExecutionsByKey<String> serializerSession, SerializeExecutionsByKey<String> serializerOfflineSession, SerializeExecutionsByKey<UUID> serializerClientSession, SerializeExecutionsByKey<UUID> serializerOfflineClientSession) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.changes
Modifier and TypeFieldDescriptionprotected final org.infinispan.Cache<K,
SessionEntityWrapper<V>> InfinispanChangelogBasedTransaction.cache
Modifier and TypeMethodDescriptionReplaceFunction.apply
(K key, SessionEntityWrapper<T> currentValue) SessionEntityWrapper.forTransport()
static <S extends SessionEntity>
SessionEntityWrapper<S>SessionEntityWrapper.forTransport
(S entity) ClientSessionPersistentChangelogBasedTransaction.get
(RealmModel realm, ClientModel client, UserSessionModel userSession, UUID key, boolean offline) UserSessionPersistentChangelogBasedTransaction.get
(RealmModel realm, String key, UserSessionModel userSession, boolean offline) SessionUpdatesList.getEntityWrapper()
SessionEntityWrapper$___Marshaller_1bbadd4403b5da37a897a397df8477e4fbe148148934fc1536a70a2e9d510f32.read
(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext $1) Modifier and TypeMethodDescriptionprotected org.infinispan.Cache<K,
SessionEntityWrapper<V>> PersistentSessionsChangelogBasedTransaction.getCache
(boolean offline) SessionEntityWrapper$___Marshaller_1bbadd4403b5da37a897a397df8477e4fbe148148934fc1536a70a2e9d510f32.getJavaClass()
Modifier and TypeMethodDescriptionReplaceFunction.apply
(K key, SessionEntityWrapper<T> currentValue) static <S extends SessionEntity>
MergedUpdate<S>MergedUpdate.computeUpdate
(List<SessionUpdateTask<S>> childUpdates, SessionEntityWrapper<S> sessionWrapper, long lifespanMs, long maxIdleTimeMs) ClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) ClientSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper) LoginFailuresUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<LoginFailureEntity> sessionWrapper) MergedUpdate.getCrossDCMessageStatus
(SessionEntityWrapper<S> sessionWrapper) SessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<S> sessionWrapper) UserSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) void
InfinispanChangelogBasedTransaction.reloadEntityInCurrentTransaction
(RealmModel realm, K key, SessionEntityWrapper<V> entity) void
PersistentSessionsChangelogBasedTransaction.reloadEntityInCurrentTransaction
(RealmModel realm, K key, SessionEntityWrapper<V> entity) void
SessionEntityWrapper$___Marshaller_1bbadd4403b5da37a897a397df8477e4fbe148148934fc1536a70a2e9d510f32.write
(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext $1, SessionEntityWrapper $2) ModifierConstructorDescriptionReplaceFunction
(UUID expectedVersion, SessionEntityWrapper<T> newValue) SessionUpdatesList
(RealmModel realm, SessionEntityWrapper<S> entityWrapper) SessionUpdatesList
(RealmModel realm, SessionEntityWrapper<S> entityWrapper, UserSessionModel.SessionPersistenceState persistenceState) ModifierConstructorDescriptionClientSessionPersistentChangelogBasedTransaction
(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) EmbeddedCachesChangesPerformer
(org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, SerializeExecutionsByKey<K> serializer) InfinispanChangelogBasedTransaction
(KeycloakSession kcSession, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader, SerializeExecutionsByKey<K> serializer) PersistentSessionsChangelogBasedTransaction
(KeycloakSession session, String cacheName, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.Cache<K, SessionEntityWrapper<V>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader, SessionFunction<V> offlineLifespanMsLoader, SessionFunction<V> offlineMaxIdleTimeMsLoader, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<K> serializerOnline, SerializeExecutionsByKey<K> serializerOffline) RemoteCachesChangesPerformer
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, RemoteCacheInvoker remoteCacheInvoker) 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) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.changes.sessions
Modifier and TypeMethodDescriptionCrossDCLastSessionRefreshChecker.shouldSaveClientSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp) CrossDCLastSessionRefreshChecker.shouldSaveUserSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh) Modifier and TypeMethodDescriptionCrossDCLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) CrossDCLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline) ModifierConstructorDescriptionCrossDCLastSessionRefreshListener
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.entities
Modifier and TypeMethodDescriptionAuthenticatedClientSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) SessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) UserSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) Modifier and TypeMethodDescriptionAuthenticatedClientSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) SessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) UserSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.remotestore
Modifier and TypeMethodDescription<K,
V extends SessionEntity>
voidRemoteCacheInvoker.runTask
(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper) Modifier and TypeMethodDescriptionstatic <K,
V extends SessionEntity>
RemoteCacheSessionListenerRemoteCacheSessionListener.createListener
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader, Runnable onFailover) static <K,
V extends SessionEntity>
RemoteCacheSessionListenerRemoteCacheSessionListener.createListener
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader, Runnable onFailover) protected void
RemoteCacheSessionListener.init
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) protected void
RemoteCacheSessionListener.init
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.stream
Modifier and TypeMethodDescriptionMappers.authClientSessionSetMapper()
static Function<Map.Entry<LoginFailureKey,
SessionEntityWrapper<LoginFailureEntity>>, LoginFailureKey> Mappers.loginFailureId()
Mappers.userSessionEntity()
Modifier and TypeMethodDescriptionboolean
UserSessionPredicate.test
(Map.Entry<String, SessionEntityWrapper<UserSessionEntity>> entry)