Interface LockProvider

    • Method Detail

      • lock

        @NotNull
        @NotNull Optional<SimpleLock> lock​(@NotNull
                                           @NotNull LockConfiguration lockConfiguration)
        Returns:
        If empty optional has been returned, lock could not be acquired. The lock has to be released by the callee.