public class InFileDataSetCache extends Object implements DataSetCache
| Constructor and Description |
|---|
InFileDataSetCache(File cacheDirectory) |
InFileDataSetCache(Path cacheDirectory) |
InFileDataSetCache(String cacheDirectory) |
| 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 InFileDataSetCache(File cacheDirectory)
public InFileDataSetCache(Path cacheDirectory)
public InFileDataSetCache(String cacheDirectory)
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 © 2018. All rights reserved.