Class CacheProperties.Redis

java.lang.Object
org.springframework.boot.autoconfigure.cache.CacheProperties.Redis
Enclosing class:
CacheProperties

public static class CacheProperties.Redis extends Object
Redis-specific cache properties.
  • Constructor Details

    • Redis

      public Redis()
  • Method Details

    • getTimeToLive

      public Duration getTimeToLive()
    • setTimeToLive

      public void setTimeToLive(Duration timeToLive)
    • isCacheNullValues

      public boolean isCacheNullValues()
    • setCacheNullValues

      public void setCacheNullValues(boolean cacheNullValues)
    • getKeyPrefix

      public String getKeyPrefix()
    • setKeyPrefix

      public void setKeyPrefix(String keyPrefix)
    • isUseKeyPrefix

      public boolean isUseKeyPrefix()
    • setUseKeyPrefix

      public void setUseKeyPrefix(boolean useKeyPrefix)
    • isEnableStatistics

      public boolean isEnableStatistics()
    • setEnableStatistics

      public void setEnableStatistics(boolean enableStatistics)