org.ehcache.impl.internal.loaderwriter.writebehind.operations
Class WriteAllOperation<K,V>

java.lang.Object
  extended by org.ehcache.impl.internal.loaderwriter.writebehind.operations.WriteAllOperation<K,V>
All Implemented Interfaces:
BatchOperation<K,V>

public class WriteAllOperation<K,V>
extends java.lang.Object
implements BatchOperation<K,V>

Implements the write all operation for write behind


Constructor Summary
WriteAllOperation(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries)
          Create a new write all operation for the provided list of element
 
Method Summary
 void performBatchOperation(CacheLoaderWriter<K,V> cacheLoaderWriter)
          Perform the batch operation for a particular batch writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteAllOperation

public WriteAllOperation(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries)
Create a new write all operation for the provided list of element

Method Detail

performBatchOperation

public void performBatchOperation(CacheLoaderWriter<K,V> cacheLoaderWriter)
                           throws BulkCacheWritingException,
                                  java.lang.Exception
Description copied from interface: BatchOperation
Perform the batch operation for a particular batch writer

Specified by:
performBatchOperation in interface BatchOperation<K,V>
Throws:
BulkCacheWritingException
java.lang.Exception