Class LockCurrentlyUnavailableException

  • All Implemented Interfaces:
    Serializable

    public class LockCurrentlyUnavailableException
    extends RuntimeException
    This is a retry-able exception, that indicates that the lock being requested has already been held by another worker and has not been released yet and the lease duration has not expired since the lock was last updated by the current owner. The caller can retry acquiring the lock with or without a backoff.
    Author:
    Sathish kumar AC
    See Also:
    Serialized Form
    • Constructor Detail

      • LockCurrentlyUnavailableException

        public LockCurrentlyUnavailableException()
      • LockCurrentlyUnavailableException

        public LockCurrentlyUnavailableException​(String message)
      • LockCurrentlyUnavailableException

        public LockCurrentlyUnavailableException​(Throwable cause)
      • LockCurrentlyUnavailableException

        public LockCurrentlyUnavailableException​(String message,
                                                 Throwable cause)
      • LockCurrentlyUnavailableException

        public LockCurrentlyUnavailableException​(String message,
                                                 Throwable cause,
                                                 boolean enableSuppression,
                                                 boolean writableStackTrace)