|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.expression.BaseCriteria net.sf.ehcache.search.expression.AlwaysMatch
public class AlwaysMatch
Criteria that always return true
Constructor Summary | |
---|---|
AlwaysMatch()
|
Method Summary | |
---|---|
Criteria |
and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria |
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element |
Set<Attribute<?>> |
getAttributes()
Returns all search attributes referenced by this instance |
Criteria |
or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria |
Methods inherited from class net.sf.ehcache.search.expression.BaseCriteria |
---|
getExtractor, not |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlwaysMatch()
Method Detail |
---|
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value names
public Criteria and(Criteria other)
and
in interface Criteria
and
in class BaseCriteria
public Criteria or(Criteria other)
or
in interface Criteria
or
in class BaseCriteria
public Set<Attribute<?>> getAttributes()
BaseCriteria
getAttributes
in class BaseCriteria
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |