public class DynamicSearchChecker extends Object
Constructor and Description |
---|
DynamicSearchChecker() |
Modifier and Type | Method and Description |
---|---|
static Map<String,? extends Object> |
getSearchAttributes(Element e,
Set<String> reservedAttrs,
DynamicAttributesExtractor extractor)
Extracts dynamically indexed search attributes from cache element using provided extractor,
validating against reserved set of attribute names (provided by Ehcache search config)
|
public static Map<String,? extends Object> getSearchAttributes(Element e, Set<String> reservedAttrs, DynamicAttributesExtractor extractor) throws SearchException
e
- cache element for which to get dynamically extracted attribute valuesreservedAttrs
- disallowed attribute namesextractor
- dynamic attributes extractorSearchException
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.