Package com.atlassian.jira.issue.index
Class IndexDirectoryFactory.IndexPathAdapter
java.lang.Object
com.atlassian.jira.issue.index.IndexDirectoryFactory.IndexPathAdapter
- All Implemented Interfaces:
IndexDirectoryFactory,Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>
- Enclosing interface:
IndexDirectoryFactory
public static class IndexDirectoryFactory.IndexPathAdapter
extends Object
implements IndexDirectoryFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.index.IndexDirectoryFactory
IndexDirectoryFactory.IndexPathAdapter, IndexDirectoryFactory.Name -
Constructor Summary
ConstructorsConstructorDescriptionIndexPathAdapter(IndexPathManager indexPathManager, IndexWriterConfiguration writerConfiguration, ApplicationProperties applicationProperties) -
Method Summary
Modifier and TypeMethodDescriptionget()Produce an object.voidsetIndexingMode(IndexingMode strategy) Sets the Indexing Mode - one of either DIRECT or QUEUED.
-
Constructor Details
-
IndexPathAdapter
public IndexPathAdapter(@Nonnull IndexPathManager indexPathManager, IndexWriterConfiguration writerConfiguration, ApplicationProperties applicationProperties)
-
-
Method Details
-
get
Description copied from interface:SupplierProduce an object. Retrieve an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.- Specified by:
getin interfaceSupplier<Map<IndexDirectoryFactory.Name,Index.Manager>> - Returns:
- the product, may be null if there are no objects available.
-
getIndexRootPath
- Specified by:
getIndexRootPathin interfaceIndexDirectoryFactory
-
getIndexPaths
- Specified by:
getIndexPathsin interfaceIndexDirectoryFactory
-
setIndexingMode
Description copied from interface:IndexDirectoryFactorySets the Indexing Mode - one of either DIRECT or QUEUED.- Specified by:
setIndexingModein interfaceIndexDirectoryFactory- Parameters:
strategy- the indexing mode.
-