public interface SearchManager
| Modifier and Type | Method and Description |
|---|---|
void |
clear(String cacheName,
int segmentId)
Clear a segment of the given cache
|
Results |
executeQuery(String cacheName,
StoreQuery query,
Map<String,AttributeExtractor> attributeExtractors)
Execute a query against the given cache
|
void |
move(String cacheName,
int segmentId,
String existingKey,
String newKey)
Update the unqiue key for an existing entry
|
void |
put(String cacheName,
int segmentId,
String uniqueKey,
byte[] serializedKey,
Element element,
Map<String,AttributeExtractor> extractors)
Notify an element added to a segment of a given cache
|
void |
remove(String cacheName,
String uniqueKey,
int segmentId)
Notify an element removed from a segment of a given cache
|
Results executeQuery(String cacheName, StoreQuery query, Map<String,AttributeExtractor> attributeExtractors)
cacheName - cache namequery - query to executeattributeExtractors - defined attribute extractors for the cachevoid put(String cacheName, int segmentId, String uniqueKey, byte[] serializedKey, Element element, Map<String,AttributeExtractor> extractors)
cacheName - cache namesegmentId - segment of cacheuniqueKey - unique key of elementserializedKey - serialized form of the element keyelement - element being added to cacheextractors - the attribute extractors for the cachevoid remove(String cacheName, String uniqueKey, int segmentId)
cacheName - cache nameuniqueKey - unique key of elementsegmentId - segment of cachevoid clear(String cacheName, int segmentId)
cacheName - cache name to clearsegmentId - segment of cacheCopyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.