com.atlassian.jira.issue.index
Class MemoryIndexManager
java.lang.Object
com.atlassian.jira.issue.index.DefaultIndexManager
com.atlassian.jira.issue.index.MemoryIndexManager
- All Implemented Interfaces:
- IssueIndexManager, Sized, IndexLifecycleManager
public class MemoryIndexManager
- extends DefaultIndexManager
A based index manager to allow indexing to be done in memory rather than on the FS.
It can be used in test cases which involves the validity of data being indexed/deindexed/reindexed
Method Summary |
protected String |
getFilePath()
Return the path beneath which the different index directories are stored, protected so the MemoryIndexManager can override for testing
purposes. |
Methods inherited from class com.atlassian.jira.issue.index.DefaultIndexManager |
activate, deactivate, deactivate, deIndex, getAllIndexPaths, getCommentSearcher, getExistingPluginsPaths, getIssueSearcher, getPluginsRootPath, isIndexingEnabled, optimize, reIndex, reIndex, reIndexAll, reIndexAll, reIndexIssueObjects, reIndexIssues, reIndexIssues, shutdown, size, toString |
MemoryIndexManager
public MemoryIndexManager()
MemoryIndexManager
public MemoryIndexManager(org.apache.lucene.store.RAMDirectory issueDirectory,
org.apache.lucene.store.RAMDirectory commentDirectory)
getFilePath
protected String getFilePath()
- Description copied from class:
DefaultIndexManager
- Return the path beneath which the different index directories are stored, protected so the MemoryIndexManager can override for testing
purposes.
- Overrides:
getFilePath
in class DefaultIndexManager
- Returns:
- string value of 'jira.path.index' application property
Copyright © 2002-2009 Atlassian. All Rights Reserved.