K - the type of keysV - the type of valuespublic class FailingCacheWriter<K,V> extends RecordingCacheWriter<K,V>
CacheWriter implementation that always throws a
UnsupportedOperationException, regardless of the request.| Constructor and Description |
|---|
FailingCacheWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Object key) |
void |
deleteAll(Collection<?> keys) |
void |
write(javax.cache.Cache.Entry<? extends K,? extends V> entry) |
void |
writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries) |
clear, close, get, getDeleteCount, getWriteCount, hasDeleted, hasWrittenpublic void writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries)
public void delete(Object key)
public void deleteAll(Collection<?> keys)
Copyright © 2019. All rights reserved.