org.springframework.integration.util
Interface LockRegistry

All Known Implementing Classes:
DefaultLockRegistry

public interface LockRegistry

Strategy for maintaining a registry of shared locks

Since:
2.0.6

Method Summary
 java.util.concurrent.locks.Lock obtain(java.lang.Object lockKey)
          Obtains the lock associated with the parameter object.
 

Method Detail

obtain

java.util.concurrent.locks.Lock obtain(java.lang.Object lockKey)
Obtains the lock associated with the parameter object.

Parameters:
lockKey - The object with which the lock is associated.
Returns:
The associated lock.