Interface LockProvider

All Known Implementing Classes:
StorageBasedLockProvider

public interface LockProvider
Provides lock implementation.
  • Method Details

    • lock

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