Class WriteAllOperation

  • All Implemented Interfaces:
    BatchOperation

    public class WriteAllOperation
    extends java.lang.Object
    implements BatchOperation
    Implements the write all operation for write behind
    Version:
    $Id$
    Author:
    Geert Bevin
    • Constructor Summary

      Constructors 
      Constructor Description
      WriteAllOperation​(java.util.List<Element> elements)
      Create a new write all operation for the provided list of element
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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​(java.util.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