Package org.frontcache.io
package org.frontcache.io
-
ClassDescriptionBase of every management-API response.The config files the management API will write, and the only names
set-configaccepts.Reads, hashes, backs up and atomically replaces a config file under FRONTCACHE_HOME/conf.Dry-parses a candidate config file beforeset-configwrites it.Whatset-configactually does, with no HttpServletRequest in sight.Bot classification config from ./conf/bots.conf: the ordered rules, and the bare User-Agent keywords.The raw ./conf/bots.conf of one node, for the console's Bot Configs screen.URL patterns that are never cached, from ./conf/dynamic-urls.conf.The raw ./conf/dynamic-urls.conf of one node, for the console's Dynamic URLs screen.URL-pattern to fallback-file mappings from ./conf/fallbacks.conf.The raw ./conf/fallbacks.conf of one node, for the console's Fallback Config screen.Response for the get-guard-rules action: the guard rules this node is running, in evaluation order (built-ins first, then conf/guard-rules.conf), each with its hit count since start.Raw content of ./conf/resilience.properties (comments and empty lines preserved), for display in the console.The cheap, pollable view of a node: cache sizes and the JVM they live in.Response for theput-to-cacheIO action.The outcome ofreload-dynamic-urls: how many patterns are now active.The outcome ofreload-resilience.Whatset-configdid, or refused to do.The cache warmer's management actions, with no HttpServletRequest in sight - theConfigWriteActionarrangement, for the same reason: the gates are what matter here, and they are testable without a servlet container.get-warmer-list,put-warmer-listanddelete-warmer-list: one list.warmer-lists: the URI lists underFRONTCACHE_HOME/warmer/, newest first.warmer-preflight: what a run with these parameters would do, without calling the origin.Whatwarmer-statusreturns, and what every run-control action (warmer-start,warmer-update,-pause,-resume,-stop) answers with - the state after the call.