Class Tasks
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.changes.Tasks
-
public class Tasks extends Object
- Author:
- hmlnarik
-
-
Constructor Summary
Constructors Constructor Description Tasks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <S extends SessionEntity>
SessionUpdateTask<S>addIfAbsentSync()
Returns a typed task of typeSessionUpdateTask.CacheOperation.ADD_IF_ABSENT
that does no other update.static <S extends SessionEntity>
SessionUpdateTask<S>removeSync()
Returns a typed task of typeSessionUpdateTask.CacheOperation.REMOVE
that does no other update.
-
-
-
Method Detail
-
addIfAbsentSync
public static <S extends SessionEntity> SessionUpdateTask<S> addIfAbsentSync()
Returns a typed task of typeSessionUpdateTask.CacheOperation.ADD_IF_ABSENT
that does no other update. This operation has DC message statusSessionUpdateTask.CrossDCMessageStatus.SYNC
.- Type Parameters:
S
-- Returns:
-
removeSync
public static <S extends SessionEntity> SessionUpdateTask<S> removeSync()
Returns a typed task of typeSessionUpdateTask.CacheOperation.REMOVE
that does no other update. This operation has DC message statusSessionUpdateTask.CrossDCMessageStatus.SYNC
.- Type Parameters:
S
-- Returns:
-
-