Interface ConfigPersistence

All Known Implementing Classes:
InMemoryPersistence, JDBM2Persistence, MySQLPersistence, RedisPersistence

public interface ConfigPersistence
Interface for persisting configuration These are the pieces of configuration - all of these are key/value; keys are strings, values are typically JSON strings or plain strings.
  1. Map<String, PVTypeInfo> typeInfos
  2. Map<String, UserSpecifiedSamplingParams> archivePVRequests
  3. Map<String, String> externalDataServer
  4. Map<String, String> aliasNamesToRealNames
The APIs typically have one method to get all the keys, one to get a value given a key and a third to change a value given a key. Others may be added later to improve performance and such.
Author:
mshankar