Interface DistributedLock

    • Method Detail

      • acquire

        boolean acquire()
      • acquire

        boolean acquire​(Duration duration)
      • acquireForever

        boolean acquireForever()
      • release

        boolean release()
      • acquireAndExecute

        default boolean acquireAndExecute​(Runnable action)
      • acquireAndExecute

        default boolean acquireAndExecute​(Duration duration,
                                          Runnable action)
      • acquireForeverAndExecute

        default boolean acquireForeverAndExecute​(Runnable action)
      • releaseAndExecute

        default boolean releaseAndExecute​(Runnable action)