Interface LockProvider

All Known Subinterfaces:
ExtensibleLockProvider
All Known Implementing Classes:
KeepAliveLockProvider, StorageBasedLockProvider, TrackingLockProviderWrapper

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.