|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeExtractor
Used to extract a search attribute value for a given cache element.
Instances must be Serializable
in order to ensure identical
extractors are used in distributed caches
Method Summary | |
---|---|
Object |
attributeFor(Element element,
String attributeName)
Extract the attribute value. |
Method Detail |
---|
Object attributeFor(Element element, String attributeName) throws AttributeExtractorException
NOTE: null is a legal return here as well indicating that this attribute will not be available for the given element
element
- the cache element to inspectattributeName
- the name of the requested attribute
AttributeExtractorException
- if the attribute cannot be found or extracted
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |