com.atlassian.jira.issue.index
Interface IndexDirectoryFactory

All Superinterfaces:
Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>
All Known Implementing Classes:
IndexDirectoryFactory.IndexPathAdapter, MockIndexDirectoryFactory

public interface IndexDirectoryFactory
extends Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>

Responsible for creating the directories required for issue and comment indexing.

Since:
v4.0

Nested Class Summary
static class IndexDirectoryFactory.IndexPathAdapter
           
static class IndexDirectoryFactory.Mode
           
static class IndexDirectoryFactory.Name
           
 
Method Summary
 List<String> getIndexPaths()
           
 String getIndexRootPath()
           
 void setIndexingMode(IndexDirectoryFactory.Mode mode)
          Sets the Indexing Mode - one of either DIRECT or QUEUED.
 
Methods inherited from interface com.atlassian.jira.util.Supplier
get
 

Method Detail

getIndexRootPath

String getIndexRootPath()

getIndexPaths

List<String> getIndexPaths()

setIndexingMode

void setIndexingMode(@Nonnull
                     IndexDirectoryFactory.Mode mode)
Sets the Indexing Mode - one of either DIRECT or QUEUED.

Parameters:
mode - the indexing mode.


Copyright © 2002-2014 Atlassian. All Rights Reserved.