Expand description
Process-global named flags (Java’s namedFlagsSet/Get/All BPL).
Operators flip these at runtime via the management API to gate features like “skip LTS reads while NFS is wedged” without restarting the appliance. Currently consumed by:
storage::tiered::TieredStoragereads —SKIP_<TIER>_FOR_RETRIEVALetl::executor::EtlExecutorwrites —SKIP_<DEST>_FOR_ETL
Java wires these through ConfigService.getNamedFlag(...). We use a
global so both the HTTP handler (in archiver-api) and the storage /
ETL paths (in archiver-core) can share state without an extra trait.
Functions§
- all
- Snapshot of all flags as
(name, value)pairs, sorted by name. - get
- Get a named flag. Returns
falseif the flag is unset. - set
- Set a named flag. Returns the previous value, or
falseif unset. - skip_
tier_ for_ etl - Convenience: is
SKIP_<tier>_FOR_ETLset? - skip_
tier_ for_ retrieval - Convenience: is
SKIP_<tier>_FOR_RETRIEVALset?tieris uppercased.