Interface CacheConfig

All Known Subinterfaces:
CacheConfig.BuildableCacheConfig

@ConfigMapping(prefix="polaris.persistence.cache") public interface CacheConfig
Persistence cache configuration.
  • Field Details

  • Method Details

    • enable

      @WithDefault("true") Optional<Boolean> enable()
      Optionally disable the cache, the default value is true, meaning that the cache is enabled by default.
    • referenceTtl

      @WithDefault("PT15M") Optional<Duration> referenceTtl()
      Duration to cache the state of references.
    • referenceNegativeTtl

      Optional<Duration> referenceNegativeTtl()
      Duration to cache whether a reference does not exist (negative caching).
    • sizing

    • clockNanos

      @Default default LongSupplier clockNanos()