Package org.keycloak.models.locking
Class LockAcquiringTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.keycloak.models.locking.LockAcquiringTimeoutException
- All Implemented Interfaces:
Serializable
This exception is thrown when acquiring a lock times out.
- See Also:
-
Constructor Summary
ConstructorDescriptionLockAcquiringTimeoutException
(String lockName, String keycloakInstanceIdentifier, Instant timeWhenAcquired) LockAcquiringTimeoutException
(String lockName, String keycloakInstanceIdentifier, Instant timeWhenAcquired, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LockAcquiringTimeoutException
public LockAcquiringTimeoutException(String lockName, String keycloakInstanceIdentifier, Instant timeWhenAcquired) - Parameters:
lockName
- Identifier of a lock whose acquiring was unsuccessful.keycloakInstanceIdentifier
- Identifier of a Keycloak instance that is currently holding the lock.timeWhenAcquired
- Time instant when the lock held bykeycloakInstanceIdentifier
was acquired.
-
LockAcquiringTimeoutException
public LockAcquiringTimeoutException(String lockName, String keycloakInstanceIdentifier, Instant timeWhenAcquired, Throwable cause) - Parameters:
lockName
- Identifier of a lock whose acquiring was unsuccessful.keycloakInstanceIdentifier
- Identifier of a Keycloak instance that is currently holding the lock.timeWhenAcquired
- Time instant when the lock held bykeycloakInstanceIdentifier
was acquired.cause
- The cause.
-
-
Method Details
-
getLockName
-
getKeycloakInstanceIdentifier
-
getTimeWhenAcquired
-