ehcache

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

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

public class WriteAllOperation
extends Object
implements BatchOperation

Implements the write all operation for write behind

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

Constructor Summary
WriteAllOperation(List<Element> elements)
          Create a new write all operation for the provided list of element
 
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

WriteAllOperation

public WriteAllOperation(List<Element> elements)
Create a new write all operation for the provided list of element

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