Class Tasks
java.lang.Object
org.keycloak.models.sessions.infinispan.changes.Tasks
- Author:
- hmlnarik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends SessionEntity>
SessionUpdateTask<S>Returns a typed task of typeSessionUpdateTask.CacheOperation.ADD_IF_ABSENT
that does no other update.static <S extends SessionEntity>
SessionUpdateTask<S>Returns a typed task of typeSessionUpdateTask.CacheOperation.REMOVE
that does no other update.static <S extends SessionEntity>
SessionUpdateTask<S>removeSync
(boolean offline) Returns a typed task of typeSessionUpdateTask.CacheOperation.REMOVE
that does no other update.
-
Constructor Details
-
Tasks
public Tasks()
-
-
Method Details
-
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
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:
-
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
-- Parameters:
offline
- whether the operation should be performed on offline or non-offline session- Returns:
-