java.lang.Object | |
↳ | com.atlassian.jira.util.LuceneDirectoryUtilsImpl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a directory (robustly) or throws appropriate Exception
| |||||||||||
Creates an index directory for the given path on the filesystem.
| |||||||||||
Given a
Collection of paths that represent index directories checks if there are any existing
Lucene lock files for the passed paths. |
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||
From interface
com.atlassian.jira.util.LuceneDirectoryUtils
|
Creates a directory (robustly) or throws appropriate Exception
path | Lucene index directory path |
---|
IOException |
---|
Creates an index directory for the given path on the filesystem.
path | to the index directory. |
---|
Directory
Given a Collection
of paths that represent index directories checks if there are any existing
Lucene lock files for the passed paths. This method returns a Collection
of file paths of any existing
Lucene lock files. If no lock files are found an empty collection is returned.
Collection existingLockFilepaths = LuceneUtils.getStaleLockPaths(indexManager.getAllIndexPaths());
indexDirectoryPaths | collection of index directory paths |
---|