Top Description Fields Constructors Methods
net.sf.ehcache.writer.writebehind.operations

public Class DeleteAllOperation

extends Object
implements BatchOperation
Class Inheritance
All Implemented Interfaces
net.sf.ehcache.writer.writebehind.operations.BatchOperation
Imports
net.sf.ehcache.CacheEntry, net.sf.ehcache.writer.CacheWriter, java.util.List

Implements the delete all operation for write behind
Author
Geert Bevin
Version
$Id: DeleteAllOperation.java 5594 2012-05-07 16:04:31Z cdennis $

Field Summary

Modifier and TypeField and Description
private final List<CacheEntry>

Constructor Summary

AccessConstructor and Description
public
DeleteAllOperation(List<CacheEntry>
the list of entries that are part of this operation
entries
)

Create a new delete all operation for the provided list of cache entries

Method Summary

Modifier and TypeMethod and Description
public void
performBatchOperation(CacheWriter
the cache writer this operation should be performed upon
cacheWriter
)

Implements net.sf.ehcache.writer.writebehind.operations.BatchOperation.performBatchOperation.

Perform the batch operation for a particular batch writer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

entriesback to summary
private final List<CacheEntry> entries

Constructor Detail

DeleteAllOperationback to summary
public DeleteAllOperation(List<CacheEntry> entries)

Create a new delete all operation for the provided list of cache entries

Parameters
entries:List<CacheEntry>

the list of entries that are part of this operation

Method Detail

performBatchOperationback to summary
public void performBatchOperation(CacheWriter cacheWriter)

Implements net.sf.ehcache.writer.writebehind.operations.BatchOperation.performBatchOperation.

Doc from net.sf.ehcache.writer.writebehind.operations.BatchOperation.performBatchOperation.

Perform the batch operation for a particular batch writer

Parameters
cacheWriter:CacheWriter

the cache writer this operation should be performed upon