K - the type of keysV - the type of valuespublic class FailingCacheLoader<K,V> extends RecordingCacheLoader
CacheLoader implementation that always throws a
UnsupportedOperationException, regardless of the request.| Constructor and Description |
|---|
FailingCacheLoader() |
| Modifier and Type | Method and Description |
|---|---|
V |
load(Object key) |
Map |
loadAll(Iterable keys) |
close, getLoadCount, hasLoadedpublic V load(Object key)
load in interface CacheLoaderload in class RecordingCacheLoaderpublic Map loadAll(Iterable keys)
RecordingCacheLoaderloadAll in interface CacheLoaderloadAll in class RecordingCacheLoaderCopyright © 2014. All Rights Reserved.