Class LockAcquiringTimeoutException

    • Constructor Detail

      • 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 by keycloakInstanceIdentifier 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 by keycloakInstanceIdentifier was acquired.
        cause - The cause.
    • Method Detail

      • getLockName

        public String getLockName()
      • getKeycloakInstanceIdentifier

        public String getKeycloakInstanceIdentifier()
      • getTimeWhenAcquired

        public Instant getTimeWhenAcquired()