org.springframework.boot.autoconfigure.cache

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 Detail

      • Redis

        public Redis()
    • Method Detail

      • 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)