Interface TryLockRepository
- All Known Implementing Classes:
InMemoryTryLockRepository
,RedisTryLockRepository
public interface TryLockRepository
Interface for all
TryLock
s.- Author:
- Martin Lindström, Felix Hellman
-
Method Summary
-
Method Details
-
get
Locking repository responsible for providing locks by key.- Parameters:
key
- unique identifier for the lock- Returns:
- a lock
-