@Target(value=FIELD) @Retention(value=RUNTIME) @Documented public @interface Persist
At startup, when Agent.start() is called, the file is read and
persisted values are applied to the corresponding field.
To trigger the local persistence of annotated fields, invoke
org.lsst.ccs.framework.Subsystem#persistNow
Supported annotated field types are the same as the ones supported by the
configuration service since serialization/deserialization relies on
TypeUtils.stringify(java.lang.Object) and
InputConversionEngine.convertArgToType(java.lang.String, java.lang.reflect.Type).
Copyright © 2024 LSST. All rights reserved.