NodeCache.Loader| Modifier and Type | Method and Description |
|---|---|
Object |
get(int key,
NodeCache.Loader loader)
Get a value from the cache, loading it if necessary.
|
static NoCache |
getInstance() |
public Object get(int key, NodeCache.Loader loader) throws IOException
NodeCacheget in interface NodeCachekey - the cache keyloader - the loader to use if the key is not in cacheIOException - if loading failspublic static NoCache getInstance()