Package | Description |
---|---|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
net.sf.ehcache.constructs.nonstop.store |
Ehcache-nonstopcache behaviors package
|
net.sf.ehcache.search.attribute |
This package contains classes for ehcache search attributes
|
net.sf.ehcache.search.expression |
This package contains classes for search expression types
(ie.
|
net.sf.ehcache.search.impl |
This package contains an implementation for Results.
|
net.sf.ehcache.store |
Store package.
|
net.sf.ehcache.transaction |
This package contains classes for controlling cache operations for transactional use.
|
net.sf.ehcache.transaction.local |
This package contains the local transactions subsystem.
|
net.sf.ehcache.transaction.xa |
This package contains the functionality to provide XA support to a transactional Cache.
|
Modifier and Type | Method and Description |
---|---|
AttributeExtractor |
SearchAttribute.constructExtractor()
Construct the extractor for this attribute configuration
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutorServiceStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
NonstopStoreImpl.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
LocalReadsOnTimeoutStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
NoOpOnTimeoutStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
ExceptionOnTimeoutStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
Modifier and Type | Class and Description |
---|---|
class |
JavaBeanAttributeExtractor |
class |
KeyObjectAttributeExtractor
Attempt to use the element key object itself as a search attribute.
|
class |
ReflectionAttributeExtractor
Built-in search attribute extractor driven by method/value dotted expression
chains.
The expression chain must start with one of either "key", "value", or "element". |
class |
ValueObjectAttributeExtractor
Attempt to use the element value object itself as a search attribute.
|
Modifier and Type | Method and Description |
---|---|
static AttributeExtractor |
BaseCriteria.getExtractor(java.lang.String attrName,
java.util.Map<java.lang.String,AttributeExtractor> knownExtractors)
For given attribute name, return its corresponding extractors from supplied map, if it exists.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ILike.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
Not.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
Or.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
NotILike.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors) |
boolean |
NotEqualTo.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
EqualTo.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
And.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
ComparableValue.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
InCollection.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
AlwaysMatch.execute(Element e,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
Criteria.execute(Element element,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
static AttributeExtractor |
BaseCriteria.getExtractor(java.lang.String attrName,
java.util.Map<java.lang.String,AttributeExtractor> knownExtractors)
For given attribute name, return its corresponding extractors from supplied map, if it exists.
|
Modifier and Type | Method and Description |
---|---|
Results |
SearchManager.executeQuery(java.lang.String cacheName,
StoreQuery query,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Execute a query against the given cache
|
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 | Field and Description |
---|---|
protected java.util.Map<java.lang.String,AttributeExtractor> |
AbstractStore.attributeExtractors
search attribute extractors
|
Modifier and Type | Method and Description |
---|---|
private void |
MemoryOnlyStore.BruteForceSearchManager.aggregate(java.util.List<AggregatorInstance<?>> aggregators,
java.util.Map<java.lang.String,AttributeExtractor> extractors,
Element element) |
Results |
MemoryOnlyStore.BruteForceSearchManager.executeQuery(java.lang.String cacheName,
StoreQuery query,
java.util.Map<java.lang.String,AttributeExtractor> extractors) |
private java.util.Map<java.lang.String,java.lang.Object> |
MemoryOnlyStore.BruteForceSearchManager.getAttributeValues(java.util.Set<Attribute<?>> attributes,
java.util.Map<java.lang.String,AttributeExtractor> extractors,
Element element) |
private java.lang.Object[] |
MemoryOnlyStore.BruteForceSearchManager.getSortAttributes(StoreQuery query,
java.util.Map<java.lang.String,AttributeExtractor> extractors,
Element element) |
void |
MemoryOnlyStore.BruteForceSearchManager.put(java.lang.String cacheName,
int segmentId,
Element element,
java.util.Map<java.lang.String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer) |
void |
AbstractStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
ElementIdAssigningStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
Store.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
Modifier and Type | Class and Description |
---|---|
class |
TransactionAwareAttributeExtractor
Used to extract a search attribute value from an element in a transactional store.
|
Modifier and Type | Field and Description |
---|---|
private AttributeExtractor |
TransactionAwareAttributeExtractor.delegate |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
Constructor and Description |
---|
TransactionAwareAttributeExtractor(ReadWriteCopyStrategy<Element> copyStrategy,
AttributeExtractor delegate)
Creates an attributed delegating to the supplied extractor, via the given copy strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalTransactionStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
Modifier and Type | Method and Description |
---|---|
void |
XATransactionStore.setAttributeExtractors(java.util.Map<java.lang.String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|