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

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

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

Implements the delete all operation for write behind


Constructor Summary
DeleteAllOperation(java.lang.Iterable<? extends K> entries)
          Create a new delete all operation for the provided list of cache entries
 
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

DeleteAllOperation

public DeleteAllOperation(java.lang.Iterable<? extends K> entries)
Create a new delete all operation for the provided list of cache entries

Parameters:
entries - the list of entries that are part of this operation
Method Detail

performBatchOperation

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

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