net.sf.ehcache.writer.writebehind
Class CoalesceKeysFilter
java.lang.Object
   net.sf.ehcache.writer.writebehind.CoalesceKeysFilter
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:
- filterin interface- OperationsFilter<KeyBasedOperation>
 
- 
- Parameters:
- operations- the operations to filter
- converter- the converter to use for each operation
 
Copyright 2001-2015, Terracotta, Inc.