net.sf.ehcache.writer.writebehind
Class CoalesceKeysFilter
java.lang.Object
net.sf.ehcache.writer.writebehind.CoalesceKeysFilter
- All Implemented Interfaces:
- OperationsFilter<KeyBasedOperation>
public class CoalesceKeysFilter
- extends Object
- implements OperationsFilter<KeyBasedOperation>
Filters the operations by only retaining the latest operations for a given key.
- Version:
- $Id: CoalesceKeysFilter.java 5594 2012-05-07 16:04:31Z cdennis $
- Author:
- Geert Bevin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoalesceKeysFilter
public CoalesceKeysFilter()
filter
public void filter(List operations,
OperationConverter<KeyBasedOperation> converter)
- Filter the operations of a write behind queue.
- Specified by:
filter
in interface OperationsFilter<KeyBasedOperation>
- Parameters:
operations
- the operations to filterconverter
- the converter to use for each operation
Copyright 2001-2016, Terracotta, Inc.