net.sf.ehcache.search.expression
Class AlwaysMatch
java.lang.Object
net.sf.ehcache.search.expression.BaseCriteria
net.sf.ehcache.search.expression.AlwaysMatch
- All Implemented Interfaces:
- Criteria
public class AlwaysMatch
- extends BaseCriteria
Criteria that always return true
- Author:
- teck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysMatch
public AlwaysMatch()
execute
public boolean execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
- Test this criteria against a cache element
- Parameters:
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value names
- Returns:
- true if the criteria matches this element
and
public Criteria and(Criteria other)
- Produce a criteria that is the boolean "and" of this and the given other criteria
- Specified by:
and
in interface Criteria
- Overrides:
and
in class BaseCriteria
- Returns:
- and criteria
or
public Criteria or(Criteria other)
- Produce a criteria that is the boolean "or" of this and the given other criteria
- Specified by:
or
in interface Criteria
- Overrides:
or
in class BaseCriteria
- Returns:
- or criteria
Copyright 2001-2014, Terracotta, Inc.