List of usage examples for org.springframework.integration.support.locks LockRegistry interface-usage
From source file org.springframework.integration.redis.util.RedisLockRegistry.java
/**
* Implementation of {@link LockRegistry} providing a distributed lock using Redis.
* Locks are stored under the key {@code registryKey:lockKey}. Locks expire after
* (default 60) seconds. Threads unlocking an
* expired lock will get an {@link IllegalStateException}. This should be
* considered as a critical error because it is possible the protected