Annotation Type NessiePersist
-
@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Inherited public @interface NessiePersist
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringconfigMethodOptional: name of method to update the configuration for thePersist.booleaninitializeRepoWhether to initialize the adapter, defaults totrue.
-
-
-
Element Detail
-
configMethod
java.lang.String configMethod
Optional: name of method to update the configuration for thePersist.The method must be
- static
- not private
- have a single parameter
StoreConfig.Adjustable - return
StoreConfig.Adjustable
Example:
@NessiePersist(configMethod = "applyTestClock") protected static Persist persist; static StoreConfig.Adjustable applyTestClock(StoreConfig.Adjustable config) { return ... }- Default:
- ""
-
-