Uses of Interface
org.springframework.integration.util.CheckedRunnable
Package
Description
Provides classes related to locking resources.
-
Uses of CheckedRunnable in org.springframework.integration.support.locks
Modifier and TypeMethodDescriptiondefault <E extends Throwable>
voidLockRegistry.executeLocked
(Object lockKey, Duration waitLockDuration, CheckedRunnable<E> runnable) Perform the provided task when the lock for the key is locked.default <E extends Throwable>
voidLockRegistry.executeLocked
(Object lockKey, CheckedRunnable<E> runnable) Perform the provided task when the lock for the key is locked.