public class ConfigServiceTemplate extends Object implements ConfigServiceOperations
| Modifier and Type | Field and Description |
|---|---|
static String |
LOAD_FAILURE_MSG |
static String |
LOAD_FAILURE_VERBOSE_MSG |
| Constructor and Description |
|---|
ConfigServiceTemplate(ConfigHttpClient httpClient,
ConnectionStringPool connectionStringPool) |
| Modifier and Type | Method and Description |
|---|---|
List<KeyValueItem> |
getKeys(String storeName,
QueryOptions options)
Find all key-value items which key name is prefixed with
keyPattern for given store. |
List<KeyValueItem> |
getRevisions(String storeName,
QueryOptions options)
List chronological/historical representation of KeyValue resource(s)
|
public static final String LOAD_FAILURE_MSG
public static final String LOAD_FAILURE_VERBOSE_MSG
public ConfigServiceTemplate(ConfigHttpClient httpClient, ConnectionStringPool connectionStringPool)
public List<KeyValueItem> getKeys(@NonNull String storeName, @NonNull QueryOptions options)
ConfigServiceOperationskeyPattern for given store.getKeys in interface ConfigServiceOperationsstoreName - the store name against which to queryoptions - the options used to query the keysKeyValueItem > which match given condition, result is sorted by the
order of the labels defined in queryOptionspublic List<KeyValueItem> getRevisions(@NonNull String storeName, @NonNull QueryOptions options)
ConfigServiceOperationsgetRevisions in interface ConfigServiceOperationsstoreName - the store name against which to queryoptions - the options used to query the keysKeyValueItem > which match given conditionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.