Class CacheConfig


  • public class CacheConfig
    extends java.lang.Object
    • Method Detail

      • getWatchDuration

        public java.time.Duration getWatchDuration()
        Gets the default watch duration for caches.
      • getMinimumBackOffDelay

        public java.time.Duration getMinimumBackOffDelay()
        Gets the minimum back-off delay used in caches.
      • getMaximumBackOffDelay

        public java.time.Duration getMaximumBackOffDelay()
        Gets the maximum back-off delay used in caches.
      • isTimeoutAutoAdjustmentEnabled

        public boolean isTimeoutAutoAdjustmentEnabled()
        Is the automatic adjustment of read timeout enabled?
      • getTimeoutAutoAdjustmentMargin

        public java.time.Duration getTimeoutAutoAdjustmentMargin()
        Gets the margin of the read timeout for caches. The margin represents the additional amount of time given to the read timeout, in addition to the wait duration.
      • getMinimumDurationBetweenRequests

        public java.time.Duration getMinimumDurationBetweenRequests()
        Gets the minimum time between two requests for caches.
      • getMinimumDurationDelayOnEmptyResult

        public java.time.Duration getMinimumDurationDelayOnEmptyResult()
        Gets the minimum time between two requests for caches.