Spring Integration

org.springframework.integration.util
Interface LockRegistry

All Known Implementing Classes:
DefaultLockRegistry, PassThruLockRegistry

public interface LockRegistry

Strategy for maintaining a registry of shared locks

Since:
2.1.1
Author:
Oleg Zhurakousky, Gary Russell

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.

Spring Integration