Class MergedUpdate<S extends SessionEntity>
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.changes.MergedUpdate<S>
-
- All Implemented Interfaces:
SessionUpdateTask<S>
public class MergedUpdate<S extends SessionEntity> extends Object implements 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S extends SessionEntity>
MergedUpdate<S>computeUpdate(List<SessionUpdateTask<S>> childUpdates, SessionEntityWrapper<S> sessionWrapper, long lifespanMs, long maxIdleTimeMs)
SessionUpdateTask.CrossDCMessageStatus
getCrossDCMessageStatus(SessionEntityWrapper<S> sessionWrapper)
long
getLifespanMs()
long
getMaxIdleTimeMs()
SessionUpdateTask.CacheOperation
getOperation(S session)
void
runUpdate(S session)
String
toString()
-
-
-
Method Detail
-
runUpdate
public void runUpdate(S session)
- Specified by:
runUpdate
in interfaceSessionUpdateTask<S extends SessionEntity>
-
getOperation
public SessionUpdateTask.CacheOperation getOperation(S session)
- 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)
-
-