Uses of Interface
org.keycloak.models.sessions.infinispan.SessionFunction
Packages that use SessionFunction
Package
Description
-
Uses of SessionFunction in org.keycloak.models.sessions.infinispan
Fields in org.keycloak.models.sessions.infinispan declared as SessionFunctionModifier and TypeFieldDescriptionprotected final SessionFunction<AuthenticatedClientSessionEntity>
InfinispanUserSessionProvider.offlineClientSessionCacheEntryLifespanAdjuster
protected final SessionFunction<UserSessionEntity>
InfinispanUserSessionProvider.offlineSessionCacheEntryLifespanAdjuster
Methods in org.keycloak.models.sessions.infinispan with parameters of type SessionFunctionModifier and TypeMethodDescription<T extends SessionEntity,
K>
Map<K,SessionEntityWrapper<T>> PersistentUserSessionProvider.importSessionsWithExpiration
(Map<K, SessionEntityWrapper<T>> sessionsById, org.infinispan.commons.api.BasicCache<K, SessionEntityWrapper<T>> cache, SessionFunction<T> lifespanMsCalculator, SessionFunction<T> maxIdleTimeMsCalculator) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.keycloak.models.sessions.infinispan with parameters of type SessionFunctionModifierConstructorDescriptionInfinispanUserSessionProvider
(KeycloakSession session, PersisterLastSessionRefreshStore persisterLastSessionRefreshStore, InfinispanKeyGenerator keyGenerator, InfinispanChangelogBasedTransaction<String, UserSessionEntity> sessionTx, InfinispanChangelogBasedTransaction<String, UserSessionEntity> offlineSessionTx, InfinispanChangelogBasedTransaction<EmbeddedClientSessionKey, AuthenticatedClientSessionEntity> clientSessionTx, InfinispanChangelogBasedTransaction<EmbeddedClientSessionKey, AuthenticatedClientSessionEntity> offlineClientSessionTx, SessionFunction<UserSessionEntity> offlineSessionCacheEntryLifespanAdjuster, SessionFunction<AuthenticatedClientSessionEntity> offlineClientSessionCacheEntryLifespanAdjuster) -
Uses of SessionFunction in org.keycloak.models.sessions.infinispan.changes
Methods in org.keycloak.models.sessions.infinispan.changes that return SessionFunctionModifier and TypeMethodDescriptionprotected SessionFunction<V>
PersistentSessionsChangelogBasedTransaction.getLifespanMsLoader
(boolean offline) protected SessionFunction<V>
PersistentSessionsChangelogBasedTransaction.getMaxIdleMsLoader
(boolean offline) CacheHolder.lifespanFunction()
Returns the value of thelifespanFunction
record component.CacheHolder.maxIdleFunction()
Returns the value of themaxIdleFunction
record component.Methods in org.keycloak.models.sessions.infinispan.changes with parameters of type SessionFunctionModifier and TypeMethodDescriptionstatic <K,
V extends SessionEntity>
CacheHolder<K,V> InfinispanChangesUtils.createWithCache
(KeycloakSession session, String cacheName, SessionFunction<V> lifespanFunction, SessionFunction<V> maxIdleFunction) static <K,
V extends SessionEntity>
CacheHolder<K,V> InfinispanChangesUtils.createWithoutCache
(SessionFunction<V> lifespanFunction, SessionFunction<V> maxIdleFunction) void
InfinispanChangelogBasedTransaction.importSessionsConcurrently
(RealmModel realmModel, Map<K, SessionEntityWrapper<V>> sessions, SessionFunction<V> lifespanFunction, SessionFunction<V> maxIdleFunction) Imports multiple sessions from an external source into theCache
.Constructors in org.keycloak.models.sessions.infinispan.changes with parameters of type SessionFunctionModifierConstructorDescriptionCacheHolder
(org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.util.concurrent.ActionSequencer sequencer, SessionFunction<V> lifespanFunction, SessionFunction<V> maxIdleFunction) Creates an instance of aCacheHolder
record class.