ehcache

net.sf.ehcache.writer.writebehind
Interface OperationsFilter<T>

Type Parameters:
T - the operation type that is used by the filter
All Known Implementing Classes:
CoalesceKeysFilter

public interface OperationsFilter<T>

An interface for implementing a filter for operations before they are processed. By filtering the outstanding operations it's for example possible to remove scheduled work before it's actually executed.

Version:
$Id: OperationsFilter.java 5594 2012-05-07 16:04:31Z cdennis $
Author:
Geert Bevin

Method Summary
 void filter(List operations, OperationConverter<T> converter)
          Filter the operations of a write behind queue.
 

Method Detail

filter

void filter(List operations,
            OperationConverter<T> converter)
Filter the operations of a write behind queue.

Parameters:
operations - the operations to filter
converter - the converter to use for each operation

ehcache

Copyright 2001-2017, Terracotta, Inc.