Interface LockRegistry
- All Known Subinterfaces:
ExpirableLockRegistry
,RenewableLockRegistry
- All Known Implementing Classes:
DefaultLockRegistry
,GemfireLockRegistry
,HazelcastLockRegistry
,JdbcLockRegistry
,PassThruLockRegistry
,RedisLockRegistry
,ZookeeperLockRegistry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for maintaining a registry of shared locks.
- Since:
- 2.1.1
- Author:
- Oleg Zhurakousky, Gary Russell
-
Method Summary
-
Method Details
-
obtain
Obtains the lock associated with the parameter object.- Parameters:
lockKey
- The object with which the lock is associated.- Returns:
- The associated lock.
-