ehcache

net.sf.ehcache.writer.writebehind.operations
Class DeleteAllOperation

java.lang.Object
  extended by net.sf.ehcache.writer.writebehind.operations.DeleteAllOperation
All Implemented Interfaces:
BatchOperation

public class DeleteAllOperation
extends Object
implements BatchOperation

Implements the delete all operation for write behind

Version:
$Id: DeleteAllOperation.java 5594 2012-05-07 16:04:31Z cdennis $
Author:
Geert Bevin

Constructor Summary
DeleteAllOperation(List<CacheEntry> entries)
          Create a new delete all operation for the provided list of cache entries
 
Method Summary
 void performBatchOperation(CacheWriter cacheWriter)
          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(List<CacheEntry> 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(CacheWriter cacheWriter)
Perform the batch operation for a particular batch writer

Specified by:
performBatchOperation in interface BatchOperation
Parameters:
cacheWriter - the cache writer this operation should be performed upon

ehcache

Copyright 2001-2015, Terracotta, Inc.