Class HazelcastLockRegistry
java.lang.Object
org.springframework.integration.hazelcast.lock.HazelcastLockRegistry
- All Implemented Interfaces:
LockRegistry
@Deprecated(forRemoval=true,
since="6.5")
public class HazelcastLockRegistry
extends Object
implements LockRegistry
Deprecated, for removal: This API element is subject to removal in a future version.
with no replacement since this class relies on the CP Subsystem
which is not Open Source anymore since Hazelcast 5.5.
A
LockRegistry
implementation Hazelcast distributed locks.- Author:
- Artem Bilan
-
Constructor Summary
ConstructorsConstructorDescriptionHazelcastLockRegistry
(com.hazelcast.core.HazelcastInstance hazelcastInstance) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.support.locks.LockRegistry
executeLocked, executeLocked, executeLocked, executeLocked
-
Constructor Details
-
HazelcastLockRegistry
public HazelcastLockRegistry(com.hazelcast.core.HazelcastInstance hazelcastInstance) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
obtain
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:LockRegistry
Obtain the lock associated with the parameter object.- Specified by:
obtain
in interfaceLockRegistry
- Parameters:
lockKey
- The object with which the lock is associated.- Returns:
- The associated lock.
-