Class SyncContext.FailedToAcquireLockException

All Implemented Interfaces:
Serializable
Enclosing interface:
SyncContext

public static final class SyncContext.FailedToAcquireLockException extends IllegalStateException
Specific exception thrown by SyncContext.acquire(Collection, Collection) method when it cannot acquire the lock.
Since:
1.9.25
See Also:
  • Field Details

    • shared

      private final boolean shared
  • Constructor Details

    • FailedToAcquireLockException

      public FailedToAcquireLockException(boolean shared, String message)
      Constructor.
  • Method Details

    • isShared

      public boolean isShared()
      Returns true for shared and false for exclusive sync contexts.