Interface RenewableLockRegistry

All Superinterfaces:
LockRegistry
All Known Implementing Classes:
JdbcLockRegistry

public interface RenewableLockRegistry extends LockRegistry
A LockRegistry implementing this interface supports the renewal of the time to live of a lock.
Since:
5.4
Author:
Alexandre Strubel, Artem Bilan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renewLock(Object lockKey)
    Renew the time to live of the lock is associated with the parameter object.

    Methods inherited from interface org.springframework.integration.support.locks.LockRegistry

    obtain
  • Method Details

    • renewLock

      void renewLock(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.