public class ConfigManager extends ConfigCurdManager
HEAD_KEY, TAIL_KEY
Constructor and Description |
---|
ConfigManager() |
ConfigManager(boolean isConfigMap) |
Modifier and Type | Method and Description |
---|---|
void |
addConfig(String key,
String value)
存入k-v对,如果在local/remote中有相同的key,会覆盖
|
void |
clear() |
<T> T |
getConfig(Class<T> type,
String key,
T defaultValue) |
String |
getConfig(String key)
取值时,从Map序列最后往前取
|
Map<String,String> |
getConfigMap() |
void |
removeConfig(String key)
删除k-v对,如果在local/remote中有相同的key,执行此操作后,在下次local/remote刷新前,key将不会存在
|
addAfter, addBefore, addFirst, addLast, computeTempMap, ifExistTargetMapItem, removeMapItem, replace
public ConfigManager()
public ConfigManager(boolean isConfigMap)
Copyright © 2006–2018 TinyGroup. All rights reserved.