Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
net.sf.ehcache.constructs |
The constructs package builds on top of the core ehcache classes to create
implementations for common caching patterns.
|
net.sf.ehcache.constructs.classloader |
ClassLoader contstructs package
|
net.sf.ehcache.search.impl |
This package contains an implementation for Results.
|
net.sf.ehcache.store |
Store package.
|
Modifier and Type | Method and Description |
---|---|
void |
Ehcache.registerDynamicAttributesExtractor(DynamicAttributesExtractor extractor)
Allows user to register a dynamic attribute extractor with a searchable cache that is dynamically indexable,
as indicated by its configuration.
|
void |
Cache.registerDynamicAttributesExtractor(DynamicAttributesExtractor extractor)
Allows user to register a dynamic attribute extractor with a searchable cache that is dynamically indexable,
as indicated by its configuration.
|
Modifier and Type | Field and Description |
---|---|
private DynamicAttributesExtractor |
CacheConfiguration.flexIndexer |
Modifier and Type | Method and Description |
---|---|
DynamicAttributesExtractor |
CacheConfiguration.getDynamicExtractor()
Accessor
|
Modifier and Type | Method and Description |
---|---|
CacheConfiguration |
CacheConfiguration.dynamicAttributeExtractor(DynamicAttributesExtractor extractor)
Sets dynamic search attributes extractor
|
void |
DynamicSearchListener.extractorChanged(DynamicAttributesExtractor oldValue,
DynamicAttributesExtractor newValue)
Called to indicate that a new dynamic attributes extractor was added
|
private void |
CacheConfiguration.fireDynamicAttributesExtractorAdded(DynamicAttributesExtractor oldValue,
DynamicAttributesExtractor newValue) |
void |
CacheConfiguration.setDynamicAttributesExtractor(DynamicAttributesExtractor extractor)
Sets dynamic search attributes extractor
|
Modifier and Type | Method and Description |
---|---|
void |
EhcacheDecoratorAdapter.registerDynamicAttributesExtractor(DynamicAttributesExtractor extractor)
Allows user to register a dynamic attribute extractor with a searchable cache that is dynamically indexable,
as indicated by its configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassLoaderAwareCache.registerDynamicAttributesExtractor(DynamicAttributesExtractor extractor)
Allows user to register a dynamic attribute extractor with a searchable cache that is dynamically indexable,
as indicated by its configuration.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,? extends java.lang.Object> |
DynamicSearchChecker.getSearchAttributes(Element e,
java.util.Set<java.lang.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)
|
void |
SearchManager.put(java.lang.String cacheName,
int segmentId,
Element element,
java.util.Map<java.lang.String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer)
Notify an element added to a segment of a given cache
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryOnlyStore.BruteForceSearchManager.put(java.lang.String cacheName,
int segmentId,
Element element,
java.util.Map<java.lang.String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer) |