Uses of Interface
org.keycloak.models.KeycloakSessionTaskWithResult
-
-
Uses of KeycloakSessionTaskWithResult in org.keycloak.common.util
Classes in org.keycloak.common.util that implement KeycloakSessionTaskWithResult Modifier and Type Class Description class
ResponseSessionTask
AKeycloakSessionTaskWithResult
that is aimed to be used by endpoints that want to produce aResponse
in a retriable transaction. -
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.dblock
Methods in org.keycloak.models.dblock with parameters of type KeycloakSessionTaskWithResult Modifier and Type Method Description <V> V
DBLockGlobalLockProvider. withLock(String lockName, Duration timeToWaitForLock, KeycloakSessionTaskWithResult<V> task)
Acquires a new non-reentrant global lock that is visible to all Keycloak nodes. -
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.locking
Methods in org.keycloak.models.locking with parameters of type KeycloakSessionTaskWithResult Modifier and Type Method Description <V> V
GlobalLockProvider. withLock(String lockName, Duration timeToWaitForLock, KeycloakSessionTaskWithResult<V> task)
Acquires a new non-reentrant global lock that is visible to all Keycloak nodes.default <V> V
GlobalLockProvider. withLock(String lockName, KeycloakSessionTaskWithResult<V> task)
Acquires a new non-reentrant global lock that is visible to all Keycloak nodes. -
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.map.lock
Methods in org.keycloak.models.map.lock with parameters of type KeycloakSessionTaskWithResult Modifier and Type Method Description <V> V
MapGlobalLockProvider. withLock(String lockName, Duration timeToWaitForLock, KeycloakSessionTaskWithResult<V> task)
-
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.map.storage.hotRod.locking
Methods in org.keycloak.models.map.storage.hotRod.locking with parameters of type KeycloakSessionTaskWithResult Modifier and Type Method Description <V> V
HotRodGlobalLockProvider. withLock(String lockName, Duration timeToWaitForLock, KeycloakSessionTaskWithResult<V> task)
-
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.utils
Methods in org.keycloak.models.utils with parameters of type KeycloakSessionTaskWithResult Modifier and Type Method Description static <V> V
KeycloakModelUtils. runJobInRetriableTransaction(KeycloakSessionFactory factory, KeycloakSessionTaskWithResult<V> callable, int attemptsCount, int retryIntervalMillis)
Creates a newKeycloakSession
and runs the specified callable in a new transaction.static <V> V
KeycloakModelUtils. runJobInTransactionWithResult(KeycloakSessionFactory factory, KeycloakSessionTaskWithResult<V> callable)
Wrap a given callable job into a KeycloakTransaction.
-