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, hasLoaded
public V load(Object key)
load
in interface javax.cache.integration.CacheLoader
load
in class RecordingCacheLoader
public Map loadAll(Iterable keys)
RecordingCacheLoader
loadAll
in interface javax.cache.integration.CacheLoader
loadAll
in class RecordingCacheLoader
Copyright © 2014. All Rights Reserved.