Interface RenewableLockRegistry
- All Superinterfaces:
LockRegistry
public interface RenewableLockRegistry extends LockRegistry
A
LockRegistry
implementing this interface supports the renewal
of the time to live of a lock.- Since:
- 5.4
-
Method Summary
Modifier and Type Method Description void
renewLock(java.lang.Object lockKey)
Renew the time to live of the lock is associated with the parameter object.
-
Method Details
-
renewLock
void renewLock(java.lang.Object lockKey)Renew the time to live of the lock is associated with the parameter object. The lock must be held by the current thread- Parameters:
lockKey
- The object with which the lock is associated.
-