Annotation Interface NessiePersist
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional: name of method to update the configuration for thePersist.booleanWhether to initialize the adapter, defaults totrue.
-
Element Details
-
configMethod
String configMethodOptional: 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:
- ""
-
initializeRepo
boolean initializeRepoWhether to initialize the adapter, defaults totrue.- Default:
- true
-