## Uses of Class
org.keycloak.models.sessions.infinispan.entities.UserSessionEntity

- Packages that use UserSessionEntity
  Package | Description
  --- | ---
  org.keycloak.models.sessions.infinispan |
  org.keycloak.models.sessions.infinispan.changes |
  org.keycloak.models.sessions.infinispan.changes.sessions |
  org.keycloak.models.sessions.infinispan.entities |
  org.keycloak.models.sessions.infinispan.stream |
  org.keycloak.models.sessions.infinispan.util |

- - ### Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan

    Fields in org.keycloak.models.sessions.infinispan with type parameters of type UserSessionEntity
    Modifier and Type | Field and Description
    --- | ---
    `protected org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>>` | InfinispanUserSessionProvider.`offlineSessionCache`
    `protected InfinispanChangelogBasedTransaction<String,UserSessionEntity>` | InfinispanUserSessionProvider.`offlineSessionTx`
    `protected org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>>` | InfinispanUserSessionProvider.`sessionCache`
    `protected InfinispanChangelogBasedTransaction<String,UserSessionEntity>` | InfinispanUserSessionProvider.`sessionTx`

    Methods in org.keycloak.models.sessions.infinispan that return types with arguments of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `protected org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>>` | InfinispanUserSessionProvider.`getCache(boolean offline)`
    `protected InfinispanChangelogBasedTransaction<String,UserSessionEntity>` | InfinispanUserSessionProvider.`getTransaction(boolean offline)`

    Methods in org.keycloak.models.sessions.infinispan with parameters of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | InfinispanUserSessionProvider.`removeUserSession(UserSessionEntity sessionEntity, boolean offline)`

    Constructors in org.keycloak.models.sessions.infinispan with parameters of type UserSessionEntity
    Constructor and Description
    `UserSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, InfinispanChangelogBasedTransaction<String,UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline)`

    Constructor parameters in org.keycloak.models.sessions.infinispan with type arguments of type UserSessionEntity
    Constructor and Description
    `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, boolean loadOfflineSessionsStatsFromDatabase)`
    `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, boolean loadOfflineSessionsStatsFromDatabase)`
    `UserSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, InfinispanChangelogBasedTransaction<String,UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline)`

  - ### Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.changes

    Methods in org.keycloak.models.sessions.infinispan.changes with parameters of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `SessionUpdateTask.CacheOperation` | UserSessionUpdateTask.`getOperation(UserSessionEntity session)`

    Method parameters in org.keycloak.models.sessions.infinispan.changes with type arguments of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `SessionUpdateTask.CrossDCMessageStatus` | UserSessionUpdateTask.`getCrossDCMessageStatus(SessionEntityWrapper<UserSessionEntity> sessionWrapper)`

  - ### Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.changes.sessions

    Method parameters in org.keycloak.models.sessions.infinispan.changes.sessions with type arguments of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `CrossDCLastSessionRefreshStore` | CrossDCLastSessionRefreshStoreFactory.`createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, boolean offline)`
    `CrossDCLastSessionRefreshStore` | CrossDCLastSessionRefreshStoreFactory.`createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline)`
    `SessionUpdateTask.CrossDCMessageStatus` | CrossDCLastSessionRefreshChecker.`shouldSaveUserSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh)`

    Constructor parameters in org.keycloak.models.sessions.infinispan.changes.sessions with type arguments of type UserSessionEntity
    Constructor and Description
    `CrossDCLastSessionRefreshListener(KeycloakSession session, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, boolean offline)`

  - ### Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.entities

    Methods in org.keycloak.models.sessions.infinispan.entities that return UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionEntity` | UserSessionEntity.ExternalizerImpl.`readObject(ObjectInput input)`
    `UserSessionEntity` | UserSessionEntity.ExternalizerImpl.`readObjectVersion1(ObjectInput input)`

    Methods in org.keycloak.models.sessions.infinispan.entities with parameters of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserSessionEntity.ExternalizerImpl.`writeObject(ObjectOutput output, UserSessionEntity session)`

  - ### Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.stream

    Methods in org.keycloak.models.sessions.infinispan.stream that return types with arguments of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,Set<String>>` | Mappers.`authClientSessionSetMapper()`
    `static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,String>` | Mappers.`sessionId()`
    `static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,UserSessionEntity>` | Mappers.`userSessionEntity()`
    `static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,UserSessionEntity>` | Mappers.`userSessionEntity()`
    `static Comparator<UserSessionEntity>` | Comparators.`userSessionLastSessionRefresh()`

    Method parameters in org.keycloak.models.sessions.infinispan.stream with type arguments of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | UserSessionPredicate.`test(Map.Entry<String,SessionEntityWrapper<UserSessionEntity>> entry)`

  - ### Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.util

    Methods in org.keycloak.models.sessions.infinispan.util with parameters of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `static long` | SessionTimeouts.`getOfflineSessionLifespanMs(RealmModel realm, UserSessionEntity userSessionEntity)` Get the maximum lifespan, which this offline userSession can remain in the infinispan cache.
    `static long` | SessionTimeouts.`getOfflineSessionMaxIdleMs(RealmModel realm, UserSessionEntity userSessionEntity)` Get the maximum idle time for this offline userSession.
    `static long` | SessionTimeouts.`getUserSessionLifespanMs(RealmModel realm, UserSessionEntity userSessionEntity)` Get the maximum lifespan, which this userSession can remain in the infinispan cache.
    `static long` | SessionTimeouts.`getUserSessionMaxIdleMs(RealmModel realm, UserSessionEntity userSessionEntity)` Get the maximum idle time for this userSession.

Copyright © 2021 JBoss by Red Hat. All rights reserved.