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 SummaryConstructorsConstructorDescriptionHazelcastLockRegistry(com.hazelcast.core.HazelcastInstance hazelcastInstance) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.support.locks.LockRegistryexecuteLocked, executeLocked, executeLocked, executeLocked
- 
Constructor Details- 
HazelcastLockRegistrypublic HazelcastLockRegistry(com.hazelcast.core.HazelcastInstance hazelcastInstance) 
 
- 
- 
Method Details- 
obtainDescription copied from interface:LockRegistryObtain the lock associated with the parameter object.- Specified by:
- obtainin interface- LockRegistry
- Parameters:
- lockKey- The object with which the lock is associated.
- Returns:
- The associated lock.
 
 
-