Interface RedisCacheWriter.CacheLockingConfigurer
- Enclosing interface:
- RedisCacheWriter
public static interface RedisCacheWriter.CacheLockingConfigurer
Interface that allows for configuring cache locking.
- Since:
- 4.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Disable cache locking (default).default voidenable()Enable cache locking with a default sleep time of50 millisecondsand persistent lock keys.voidenable(Consumer<RedisCacheWriter.CacheLockingConfiguration> configurationConsumer) Enable cache locking.
-
Method Details
-
disable
void disable()Disable cache locking (default). -
enable
default void enable()Enable cache locking with a default sleep time of50 millisecondsand persistent lock keys. -
enable
Enable cache locking.
-