Method Summary |
|
void | checkAndClearIfNotifiedAllToClearCache() Manual check if the notified to clear the cache globally. |
void | cleanIndex() Cleans the index from data (by deleting and creating an empty one). |
void | cleanIndex(String subIndex) Cleans the index from data (by deleting and creating an empty one). |
void | clearCache(String subIndex) Clears any internal caching done by the index for the specified sub-index. |
void | clearCache() Clears any internal caching done by the index. |
void | close() Closes the index manager. |
void | createIndex() Creates an index data. |
void | deleteIndex() Deletes the index. |
String[] | getSubIndexes() Returns the sub indexes that Compass handles. |
boolean | indexExists() Returns true if the index exists. |
boolean | isCached(String subIndex) Returns true if the sub index is cached. |
boolean | isCached() Returns true if one of the sub indexes is cached. |
boolean | isLocked() Returns true if one of the sub indexes is locked. |
boolean | isLocked(String subIndex) Returns true if the given sub index is locked. |
boolean | isRunning() |
void | notifyAllToClearCache() Notifies all the compass instances that are working with the same index to
clear cache. |
void | operate(IndexOperationCallback callback) A general api for index operations. |
void | performScheduledTasks() Performs scheduled tasks that are usually derived basde on the actual index storage used. |
void | refreshCache(String subIndex) Refresh any internal caching done by the index for the specified sub-index. |
void | refreshCache() Refresh any internal caching done by the index. |
void | releaseLock(String subIndex) Releases a lock for the given sub index. |
void | releaseLocks() Releases all the locks held over all the possbile sub indexes. |
void | replaceIndex(SearchEngineIndexManager indexManager, ReplaceIndexCallback callback) Replaces the index data that is used by the current instance, with the one that is pointed by
the given indexManager . |
void | start() |
void | stop() |
boolean | verifyIndex() Verify the index data. |