Class WarmerConfig

java.lang.Object
org.frontcache.warmer.WarmerConfig

public final class WarmerConfig extends Object
The front-cache.warmer.* keys of frontcache.properties, read once per call site. Each run's own parameters (list, mode, key base, client type, delay, concurrency) are NOT here - they come from the Run form, change from run to run, and are recorded in the checkpoint and the run summary instead. See docs/cache-warmer-proposal.md section 11.
  • Field Details

  • Method Details

    • current

      public static WarmerConfig current()
      The node's current settings.
    • isEnabled

      public boolean isEnabled()
    • isListWrite

      public boolean isListWrite()
    • getKeyBase

      public String getKeyBase()
    • getLoopbackUrl

      public String getLoopbackUrl()
    • getDefaultDelayMs

      public long getDefaultDelayMs()
    • getMaxConcurrency

      public int getMaxConcurrency()
    • getRequestTimeoutMs

      public int getRequestTimeoutMs()
    • getAutoPauseAfterFailures

      public int getAutoPauseAfterFailures()
    • getUserAgent

      public String getUserAgent()
    • getEditMaxBytes

      public long getEditMaxBytes()
    • getMaxListBytes

      public long getMaxListBytes()
    • getMaxListEntries

      public long getMaxListEntries()
    • getPublicDomain

      public String getPublicDomain()