Example usage for org.springframework.integration.support.locks LockRegistry interface-usage

List of usage examples for org.springframework.integration.support.locks LockRegistry interface-usage

Introduction

In this page you can find the example usage for org.springframework.integration.support.locks LockRegistry interface-usage.

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