public class InMemoryDataSetCache extends Object implements DataSetCache
| Constructor and Description |
|---|
InMemoryDataSetCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String key) |
DataSet |
get(String key) |
boolean |
isComplete(String namespace)
Check is given namespace has complete cache of the data set
|
void |
put(String key,
DataSet dataSet) |
void |
setComplete(String namespace,
boolean value)
Sets the flag indicating whether given namespace is fully cached
|
public boolean isComplete(String namespace)
DataSetCacheisComplete in interface DataSetCachepublic void setComplete(String namespace, boolean value)
DataSetCachesetComplete in interface DataSetCachepublic DataSet get(String key)
get in interface DataSetCachepublic void put(String key, DataSet dataSet)
put in interface DataSetCachepublic boolean contains(String key)
contains in interface DataSetCacheCopyright © 2021. All rights reserved.