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 | 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
|
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 |
---|---|
Results |
SearchManager.executeQuery(StoreQuery query,
Map<String,AttributeExtractor> attributeExtractors,
DynamicAttributesExtractor dynamicIndexer)
Execute a query against the given cache
|
static Map<String,? extends Object> |
DynamicSearchChecker.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)
|
void |
SearchManager.put(String cacheName,
int segmentId,
Element element,
byte[] serializedKey,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer)
Notify an element added to a segment of a given cache
|
Modifier and Type | Method and Description |
---|---|
Results |
BruteForceSearchManager.executeQuery(StoreQuery query,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynIndexer) |
void |
BruteForceSearchManager.put(String cacheName,
int segmentId,
Element element,
byte[] key,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer) |
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.