public class SimpleMemoryFeatureCache extends Object implements FeatureControlCache
| Constructor and Description |
|---|
SimpleMemoryFeatureCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete(String key) |
FeatureControl |
get(String key) |
Map<String,FeatureControl> |
getAll() |
void |
init(Map<String,FeatureControl> featureControls) |
void |
update(String key,
FeatureControl featureControl) |
public void init(Map<String,FeatureControl> featureControls)
init in interface FeatureControlCachepublic FeatureControl get(String key)
get in interface FeatureControlCachepublic Map<String,FeatureControl> getAll()
getAll in interface FeatureControlCachepublic void update(String key, FeatureControl featureControl)
update in interface FeatureControlCachepublic void delete(String key)
delete in interface FeatureControlCachepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017. All rights reserved.