Class CoalesceKeysFilter
- java.lang.Object
-
- net.sf.ehcache.writer.writebehind.CoalesceKeysFilter
-
- All Implemented Interfaces:
OperationsFilter<KeyBasedOperation>
public class CoalesceKeysFilter extends java.lang.Object implements OperationsFilter<KeyBasedOperation>
Filters the operations by only retaining the latest operations for a given key.- Version:
- $Id$
- Author:
- Geert Bevin
-
-
Constructor Summary
Constructors Constructor Description CoalesceKeysFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(java.util.List operations, OperationConverter<KeyBasedOperation> converter)Filter the operations of a write behind queue.
-
-
-
Method Detail
-
filter
public void filter(java.util.List operations, OperationConverter<KeyBasedOperation> converter)Filter the operations of a write behind queue.- Specified by:
filterin interfaceOperationsFilter<KeyBasedOperation>- Parameters:
operations- the operations to filterconverter- the converter to use for each operation
-
-