public class ConfigPersisterClientImpl extends java.lang.Object implements ConfigPersister
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
cache |
protected boolean |
cacheLoaded |
protected boolean |
caching |
protected ConfigStorageService |
configStorageService |
Constructor and Description |
---|
ConfigPersisterClientImpl(ConfigStorageService configStorageService,
boolean caching) |
Modifier and Type | Method and Description |
---|---|
protected ConfigStorageService |
getConfigStorage() |
java.lang.String |
getProperty(SourceType sourceType,
java.lang.String name) |
protected void |
loadCache() |
void |
setProperty(SourceType sourceType,
java.lang.String name,
java.lang.String value) |
protected java.util.Map<java.lang.String,java.lang.String> cache
protected volatile boolean cacheLoaded
protected boolean caching
protected ConfigStorageService configStorageService
public ConfigPersisterClientImpl(ConfigStorageService configStorageService, boolean caching)
public java.lang.String getProperty(SourceType sourceType, java.lang.String name)
getProperty
in interface ConfigPersister
protected void loadCache()
public void setProperty(SourceType sourceType, java.lang.String name, java.lang.String value)
setProperty
in interface ConfigPersister
protected ConfigStorageService getConfigStorage()