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 Type
    Method
    Description
    void
    Disable cache locking (default).
    default void
    Enable cache locking with a default sleep time of 50 milliseconds and persistent lock keys.
    void
    Enable cache locking.
  • Method Details

    • disable

      void disable()
      Disable cache locking (default).
    • enable

      default void enable()
      Enable cache locking with a default sleep time of 50 milliseconds and persistent lock keys.
    • enable

      void enable(Consumer<RedisCacheWriter.CacheLockingConfiguration> configurationConsumer)
      Enable cache locking.