Class MergedUpdate<S extends SessionEntity>
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.MergedUpdate<S>
- All Implemented Interfaces:
SessionUpdateTask<S>
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.sessions.infinispan.changes.SessionUpdateTask
SessionUpdateTask.CacheOperation, SessionUpdateTask.CrossDCMessageStatus
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends SessionEntity>
MergedUpdate<S>computeUpdate
(List<SessionUpdateTask<S>> childUpdates, SessionEntityWrapper<S> sessionWrapper, long lifespanMs, long maxIdleTimeMs) getCrossDCMessageStatus
(SessionEntityWrapper<S> sessionWrapper) long
long
void
boolean
shouldRemove
(S session) toString()
-
Method Details
-
runUpdate
- Specified by:
runUpdate
in interfaceSessionUpdateTask<S extends SessionEntity>
-
shouldRemove
- Specified by:
shouldRemove
in interfaceSessionUpdateTask<S extends SessionEntity>
-
getOperation
- Specified by:
getOperation
in interfaceSessionUpdateTask<S extends SessionEntity>
-
getCrossDCMessageStatus
public SessionUpdateTask.CrossDCMessageStatus getCrossDCMessageStatus(SessionEntityWrapper<S> sessionWrapper) - Specified by:
getCrossDCMessageStatus
in interfaceSessionUpdateTask<S extends SessionEntity>
-
getLifespanMs
public long getLifespanMs() -
getMaxIdleTimeMs
public long getMaxIdleTimeMs() -
computeUpdate
public static <S extends SessionEntity> MergedUpdate<S> computeUpdate(List<SessionUpdateTask<S>> childUpdates, SessionEntityWrapper<S> sessionWrapper, long lifespanMs, long maxIdleTimeMs) -
toString
-