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>>
Constructor and Description |
---|
CompositeCacheWriter(javax.cache.integration.CacheWriter<K,V>... writers) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.cache.integration.CacheWriter<K,V> |
create() |
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) |
public CompositeCacheWriter(javax.cache.integration.CacheWriter<K,V>... writers)
public void write(javax.cache.Cache.Entry<? extends K,? extends V> entry) throws javax.cache.integration.CacheWriterException
public void writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries) throws javax.cache.integration.CacheWriterException
public void deleteAll(Collection<?> keys) throws javax.cache.integration.CacheWriterException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.