Top Description Constructors Methods
net.sf.ehcache.writer.writebehind

public Class CoalesceKeysFilter

extends Object
implements OperationsFilter<KeyBasedOperation>
Class Inheritance
All Implemented Interfaces
net.sf.ehcache.writer.writebehind.OperationsFilter
Imports
net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation, java.util.ArrayList, .HashMap, .List, .Map

Filters the operations by only retaining the latest operations for a given key.
Author
Geert Bevin
Version
$Id: CoalesceKeysFilter.java 5594 2012-05-07 16:04:31Z cdennis $

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
filter(List<E>
the operations to filter
operations
,
OperationConverter<KeyBasedOperation>
the converter to use for each operation
converter
)

Implements net.sf.ehcache.writer.writebehind.OperationsFilter.filter.

Filter the operations of a write behind queue.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CoalesceKeysFilterback to summary
public CoalesceKeysFilter()

Method Detail

filterback to summary
public void filter(List<E> operations, OperationConverter<KeyBasedOperation> converter)

Implements net.sf.ehcache.writer.writebehind.OperationsFilter.filter.

Doc from net.sf.ehcache.writer.writebehind.OperationsFilter.filter.

Filter the operations of a write behind queue.

Parameters
operations:List<E>

the operations to filter

converter:OperationConverter<KeyBasedOperation>

the converter to use for each operation