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 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

      public Lock obtain(Object lockKey)
      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 interface LockRegistry
      Parameters:
      lockKey - The object with which the lock is associated.
      Returns:
      The associated lock.