Class DomainWatcherConfig

java.lang.Object
io.higson.runtime.sync.WatcherConfig
io.higson.runtime.sync.DomainWatcherConfig

public class DomainWatcherConfig extends WatcherConfig
This class supports extra configuration for DomainRuntimeWatcher. Here lifespan of domain trees within cache can be defined. If not used, by default 24 hours lifespan will be used.
  • Field Details

    • DEFAULT_LIFESPAN_IN_CACHE_VALUE

      public static final int DEFAULT_LIFESPAN_IN_CACHE_VALUE
      See Also:
    • DEFAULT_LIFESPAN_IN_CACHE_UNIT

      public static final ChronoUnit DEFAULT_LIFESPAN_IN_CACHE_UNIT
  • Constructor Details

    • DomainWatcherConfig

      public DomainWatcherConfig()
    • DomainWatcherConfig

      public DomainWatcherConfig(int watcherStartDelaySeconds, int watcherPauseSeconds, int watcherErrorPauseSeconds)
  • Method Details