Uses of Interface
org.keycloak.models.KeycloakSessionTaskWithResult
Package
Description
-
Uses of KeycloakSessionTaskWithResult in org.keycloak.common.util
Modifier and TypeClassDescriptionclass
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
Modifier and TypeMethodDescription<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
Modifier and TypeMethodDescription<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
Modifier and TypeMethodDescription<V> V
MapGlobalLockProvider.withLock
(String lockName, Duration timeToWaitForLock, KeycloakSessionTaskWithResult<V> task) -
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.map.storage.hotRod.locking
Modifier and TypeMethodDescription<V> V
HotRodGlobalLockProvider.withLock
(String lockName, Duration timeToWaitForLock, KeycloakSessionTaskWithResult<V> task) -
Uses of KeycloakSessionTaskWithResult in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic <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, KeycloakContext context, KeycloakSessionTaskWithResult<V> callable) Wrap a given callable job into a KeycloakTransaction.static <V> V
KeycloakModelUtils.runJobInTransactionWithResult
(KeycloakSessionFactory factory, KeycloakSessionTaskWithResult<V> callable) Wrap a given callable job into a KeycloakTransaction.