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, hasWritten
public void writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries)
public void delete(Object key)
public void deleteAll(Collection<?> keys)
Copyright © 2014. All Rights Reserved.