Class HazelcastLockRegistry
java.lang.Object
org.springframework.integration.hazelcast.lock.HazelcastLockRegistry
- All Implemented Interfaces:
LockRegistry
A
LockRegistry implementation Hazelcast distributed locks.- Author:
- Artem Bilan
-
Constructor Summary
ConstructorsConstructorDescriptionHazelcastLockRegistry(com.hazelcast.core.HazelcastInstance hazelcastInstance) -
Method Summary
-
Constructor Details
-
HazelcastLockRegistry
public HazelcastLockRegistry(com.hazelcast.core.HazelcastInstance hazelcastInstance)
-
-
Method Details
-
obtain
Description copied from interface:LockRegistryObtains the lock associated with the parameter object.- Specified by:
obtainin interfaceLockRegistry- Parameters:
lockKey- The object with which the lock is associated.- Returns:
- The associated lock.
-