public static class IndexDirectoryFactory.IndexPathAdapter extends Object implements IndexDirectoryFactory
IndexDirectoryFactory.IndexPathAdapter, IndexDirectoryFactory.Name
Constructor and Description |
---|
IndexPathAdapter(IndexPathManager indexPathManager,
IndexWriterConfiguration writerConfiguration,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
Map<IndexDirectoryFactory.Name,Index.Manager> |
get()
Produce an object.
|
List<String> |
getIndexPaths() |
String |
getIndexRootPath() |
void |
setIndexingMode(IndexingMode strategy)
Sets the Indexing Mode - one of either DIRECT or QUEUED.
|
public IndexPathAdapter(@Nonnull IndexPathManager indexPathManager, IndexWriterConfiguration writerConfiguration, ApplicationProperties applicationProperties)
public Map<IndexDirectoryFactory.Name,Index.Manager> get()
Supplier
get
in interface Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>
public String getIndexRootPath()
getIndexRootPath
in interface IndexDirectoryFactory
public List<String> getIndexPaths()
getIndexPaths
in interface IndexDirectoryFactory
public void setIndexingMode(@Nonnull IndexingMode strategy)
IndexDirectoryFactory
setIndexingMode
in interface IndexDirectoryFactory
strategy
- the indexing mode.Copyright © 2002-2015 Atlassian. All Rights Reserved.