|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchManager
Interface for ehcache search engine implementations
| Method Summary | |
|---|---|
void |
clear(String cacheName,
int segmentId)
Clear a segment of the given cache |
Results |
executeQuery(StoreQuery query,
Map<String,AttributeExtractor> attributeExtractors,
DynamicAttributesExtractor dynamicIndexer)
Execute a query against the given cache |
Set<Attribute> |
getSearchAttributes(String cacheName)
Returns all known search attributes for cache with given name |
void |
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 |
void |
remove(String cacheName,
Object uniqueKey,
int segmentId,
boolean isRemoval)
Notify an element removed from a segment of a given cache |
| Method Detail |
|---|
Results executeQuery(StoreQuery query,
Map<String,AttributeExtractor> attributeExtractors,
DynamicAttributesExtractor dynamicIndexer)
query - query to executeattributeExtractors - defined attribute extractors for the cachedynamicIndexer - dynamic attribute extractor (if any)
void put(String cacheName,
int segmentId,
Element element,
byte[] serializedKey,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer)
cacheName - cache namesegmentId - segment of cacheelement - element being added to cacheserializedKey - serialized form of the element keyextractors - the attribute extractors for the cachedynamicIndexer - dynamic attribute extractor (if any)
void remove(String cacheName,
Object uniqueKey,
int segmentId,
boolean isRemoval)
cacheName - cache nameuniqueKey - unique key of elementsegmentId - segment of cacheisRemoval - true if called as a result of actual storage engine removal (as opposed to move), false otherwise
void clear(String cacheName,
int segmentId)
cacheName - cache name to clearsegmentId - segment of cacheSet<Attribute> getSearchAttributes(String cacheName)
cacheName -
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||