Class CacheWriterAdapter<K,V>
java.lang.Object
org.apache.commons.jcs3.jcache.extras.writer.CacheWriterAdapter<K,V>
- All Implemented Interfaces:
Serializable
,javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<K,
,V>> javax.cache.integration.CacheWriter<K,
V>
public abstract class CacheWriterAdapter<K,V>
extends Object
implements javax.cache.integration.CacheWriter<K,V>, javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<K,V>>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
void
deleteAll
(Collection<?> keys) void
writeAll
(Collection<javax.cache.Cache.Entry<? extends K, ? extends V>> entries) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.cache.integration.CacheWriter
delete, write
-
Constructor Details
-
CacheWriterAdapter
public CacheWriterAdapter()
-
-
Method Details
-
writeAll
public void writeAll(Collection<javax.cache.Cache.Entry<? extends K, ? extends V>> entries) throws javax.cache.integration.CacheWriterException -
deleteAll
-
create
- Specified by:
create
in interfacejavax.cache.configuration.Factory<K>
-