## 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 |

- - ### 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)`

    Method parameters in org.keycloak.models.sessions.infinispan with type arguments of type UserSessionEntity
    Modifier and Type | Method and Description
    --- | ---
    `protected Stream<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessionsStream(RealmModel realm, Predicate<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>> predicate, 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
    `AuthenticatedClientSessionAdapter(KeycloakSession kcSession, InfinispanUserSessionProvider provider, AuthenticatedClientSessionEntity entity, ClientModel client, UserSessionModel userSession, InfinispanChangelogBasedTransaction<String,UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID,AuthenticatedClientSessionEntity> clientSessionUpdateTx, boolean offline)`
    `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, org.infinispan.Cache<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>> loginFailureCache)`
    `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, org.infinispan.Cache<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>> loginFailureCache)`
    `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)`

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