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 Details

  • Method Details

    • writeAll

      public void writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries) throws javax.cache.integration.CacheWriterException
      Specified by:
      writeAll in interface javax.cache.integration.CacheWriter<K,V>
      Throws:
      javax.cache.integration.CacheWriterException
    • deleteAll

      public void deleteAll(Collection<?> keys) throws javax.cache.integration.CacheWriterException
      Specified by:
      deleteAll in interface javax.cache.integration.CacheWriter<K,V>
      Throws:
      javax.cache.integration.CacheWriterException
    • create

      public javax.cache.integration.CacheWriter<K,V> create()
      Specified by:
      create in interface javax.cache.configuration.Factory<K>