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

public Class WriteAllOperation

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

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

Field Summary

Modifier and TypeField and Description
private final List<Element>

Constructor Summary

AccessConstructor and Description
public
WriteAllOperation(List<Element>
the list of elements that are part of this operation
elements
)

Create a new write all operation for the provided list of element

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

elementsback to summary
private final List<Element> elements

Constructor Detail

WriteAllOperationback to summary
public WriteAllOperation(List<Element> elements)

Create a new write all operation for the provided list of element

Parameters
elements:List<Element>

the list of elements 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