org.terracotta.async
Interface QuarantinedItemsFilter<I>


public interface QuarantinedItemsFilter<I>

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

Version:
$Id: QuarantinedItemsFilter.java 24350 2010-07-22 14:08:15Z gbevin $
Author:
Geert Bevin

Method Summary
 void filter(List<I> items)
          Called before executing an assembled list of work items.
 

Method Detail

filter

void filter(List<I> items)
Called before executing an assembled list of work items.

The attached list can be freely mutated and will be subsequently used as the list of items to be executed.

Parameters:
items - list of items to be executed


Copyright © 2015 Terracotta, Inc.. All Rights Reserved.