Class RedisCacheRuntimeConfig


  • public class RedisCacheRuntimeConfig
    extends Object
    • Field Detail

      • expireAfterWrite

        @ConfigItem
        Optional<Duration> expireAfterWrite
        Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
      • expireAfterAccess

        @ConfigItem
        Optional<Duration> expireAfterAccess
        Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the last access of its value.
      • prefix

        @ConfigItem
        public Optional<String> prefix
        the key prefix allowing to identify the keys belonging to the cache. If not set, use "cache:$cache-name"
      • useOptimisticLocking

        @ConfigItem
        public Optional<Boolean> useOptimisticLocking
        Whether the access to the cache should be using optimistic locking. See Redis Optimistic Locking for details. Default is false.
    • Constructor Detail

      • RedisCacheRuntimeConfig

        public RedisCacheRuntimeConfig()