Class CompositeCacheWriter<K,V>
java.lang.Object
org.apache.commons.jcs3.jcache.extras.writer.CompositeCacheWriter<K,V>
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<K,
,V>> javax.cache.integration.CacheWriter<K,
V>
public class CompositeCacheWriter<K,V>
extends Object
implements javax.cache.integration.CacheWriter<K,V>, Closeable, javax.cache.configuration.Factory<javax.cache.integration.CacheWriter<K,V>>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
create()
void
void
deleteAll
(Collection<?> keys) void
void
writeAll
(Collection<javax.cache.Cache.Entry<? extends K, ? extends V>> entries)
-
Constructor Details
-
CompositeCacheWriter
-
-
Method Details
-
write
-
writeAll
public void writeAll(Collection<javax.cache.Cache.Entry<? extends K, ? extends V>> entries) throws javax.cache.integration.CacheWriterException -
delete
-
deleteAll
-
create
- Specified by:
create
in interfacejavax.cache.configuration.Factory<K>
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-