CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net.cache
Class SimpleOverflowMap.FrontFilterConverter

java.lang.Object
  extended by com.tangosol.net.cache.SimpleOverflowMap.FrontFilterConverter
All Implemented Interfaces:
Converter, Filter
Enclosing class:
SimpleOverflowMap

protected static class SimpleOverflowMap.FrontFilterConverter
extends Object
implements Filter, Converter

A combination Filter and Converter used to iterate through the status map in order to iterate through the front keys.


Field Summary
static SimpleOverflowMap.FrontFilterConverter INSTANCE
           
 
Constructor Summary
protected SimpleOverflowMap.FrontFilterConverter()
           
 
Method Summary
 Object convert(Object o)
          Extracts the key from the Status object.
 boolean evaluate(Object o)
          Filters keys out that are not in the front map.
 

Field Detail

INSTANCE

public static final SimpleOverflowMap.FrontFilterConverter INSTANCE
Constructor Detail

SimpleOverflowMap.FrontFilterConverter

protected SimpleOverflowMap.FrontFilterConverter()
Method Detail

evaluate

public boolean evaluate(Object o)
Filters keys out that are not in the front map.

Specified by:
evaluate in interface Filter
Returns:
true if the test passes, false otherwise

convert

public Object convert(Object o)
Extracts the key from the Status object.

Specified by:
convert in interface Converter
Returns:
the new, converted object

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation