|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.store.MemoryStore.BruteForceSearchManager
public static class MemoryStore.BruteForceSearchManager
Brute force search implementation
| Constructor Summary | |
|---|---|
MemoryStore.BruteForceSearchManager()
Create a BruteForceSearchManager |
|
| Method Summary | |
|---|---|
void |
clear(String cacheName,
int segmentId)
Clear a segment of the given cache |
Results |
executeQuery(String cacheName,
StoreQuery query,
Map<String,AttributeExtractor> extractors)
Execute a query against the given cache |
void |
put(String cacheName,
int segmentId,
Element element,
byte[] key,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer)
Notify an element added to a segment of a given cache |
void |
remove(String cacheName,
Object key,
int segmentId,
boolean isRemoval)
Notify an element removed from a segment of a given cache |
void |
setMemoryStore(CopyingCacheStore<? extends MemoryStore> copyingCacheStore)
set the memory store, keeping a ref to the copying wrapping instance |
void |
setMemoryStore(MemoryStore memoryStore)
set the memory store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryStore.BruteForceSearchManager()
| Method Detail |
|---|
public void setMemoryStore(MemoryStore memoryStore)
memoryStore - public void setMemoryStore(CopyingCacheStore<? extends MemoryStore> copyingCacheStore)
copyingCacheStore -
public Results executeQuery(String cacheName,
StoreQuery query,
Map<String,AttributeExtractor> extractors)
SearchManager
executeQuery in interface SearchManagercacheName - cache namequery - query to executeextractors - defined attribute extractors for the cache
public void clear(String cacheName,
int segmentId)
SearchManager
clear in interface SearchManagercacheName - cache name to clearsegmentId - segment of cache
public void put(String cacheName,
int segmentId,
Element element,
byte[] key,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer)
SearchManager
put in interface SearchManagercacheName - cache namesegmentId - segment of cacheelement - element being added to cachekey - serialized form of the element keyextractors - the attribute extractors for the cachedynamicIndexer - dynamicIndexer dynamic attribute extractor (if any)
public void remove(String cacheName,
Object key,
int segmentId,
boolean isRemoval)
SearchManager
remove in interface SearchManagercacheName - cache namekey - unique key of elementsegmentId - segment of cacheisRemoval - true if called as a result of actual storage engine removal (as opposed to move), false otherwise
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||