Class ClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.ClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask
- All Implemented Interfaces:
PersistentSessionUpdateTask<UserSessionEntity>
,SessionUpdateTask<UserSessionEntity>
- Enclosing class:
- ClientSessionPersistentChangelogBasedTransaction
public static class ClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask
extends Object
implements PersistentSessionUpdateTask<UserSessionEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.sessions.infinispan.changes.SessionUpdateTask
SessionUpdateTask.CacheOperation, SessionUpdateTask.CrossDCMessageStatus
-
Constructor Summary
ConstructorDescriptionRegisterClientSessionTask
(String clientUuid, UUID clientSessionId, boolean offline) -
Method Summary
Modifier and TypeMethodDescriptiongetCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) boolean
void
runUpdate
(UserSessionEntity session)
-
Constructor Details
-
RegisterClientSessionTask
-
-
Method Details
-
runUpdate
- Specified by:
runUpdate
in interfaceSessionUpdateTask<UserSessionEntity>
-
getOperation
- Specified by:
getOperation
in interfaceSessionUpdateTask<UserSessionEntity>
-
getCrossDCMessageStatus
public SessionUpdateTask.CrossDCMessageStatus getCrossDCMessageStatus(SessionEntityWrapper<UserSessionEntity> sessionWrapper) - Specified by:
getCrossDCMessageStatus
in interfaceSessionUpdateTask<UserSessionEntity>
-
isOffline
public boolean isOffline()- Specified by:
isOffline
in interfacePersistentSessionUpdateTask<UserSessionEntity>
-