public interface SearchManager
Modifier and Type | Method and Description |
---|---|
void |
clear(java.lang.String cacheName,
int segmentId)
Clear a segment of the given cache
|
Results |
executeQuery(java.lang.String cacheName,
StoreQuery query,
java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
Execute a query against the given cache
|
void |
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
|
void |
remove(java.lang.String cacheName,
java.lang.Object uniqueKey,
int segmentId,
boolean isRemoval)
Notify an element removed from a segment of a given cache
|
Results executeQuery(java.lang.String cacheName, StoreQuery query, java.util.Map<java.lang.String,AttributeExtractor> attributeExtractors)
cacheName
- cache namequery
- query to executeattributeExtractors
- defined attribute extractors for the cachevoid put(java.lang.String cacheName, int segmentId, Element element, java.util.Map<java.lang.String,AttributeExtractor> extractors, DynamicAttributesExtractor dynamicIndexer)
cacheName
- cache namesegmentId
- segment of cacheelement
- element being added to cacheextractors
- the attribute extractors for the cachedynamicIndexer
- dynamicIndexer dynamic attribute extractor (if any)void remove(java.lang.String cacheName, java.lang.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 otherwisevoid clear(java.lang.String cacheName, int segmentId)
cacheName
- cache name to clearsegmentId
- segment of cache