public static class

IndexDirectoryFactory.IndexPathAdapter

extends Object
implements IndexDirectoryFactory
java.lang.Object
   ↳ com.atlassian.jira.issue.index.IndexDirectoryFactory.IndexPathAdapter

Summary

Public Constructors
IndexPathAdapter(IndexPathManager indexPathManager, IndexWriterConfiguration writerConfiguration, ApplicationProperties applicationProperties)
Public Methods
Map<IndexDirectoryFactory.NameIndex.Manager> get()
Produce an object.
List<String> getIndexPaths()
String getIndexRootPath()
void setIndexingMode(IndexingMode strategy)
Sets the Indexing Mode - one of either DIRECT or QUEUED.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.index.IndexDirectoryFactory
From interface com.atlassian.jira.util.Supplier

Public Constructors

public IndexPathAdapter (IndexPathManager indexPathManager, IndexWriterConfiguration writerConfiguration, ApplicationProperties applicationProperties)

Public Methods

public Map<IndexDirectoryFactory.NameIndex.Manager> get ()

Produce an object. Retrieve an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.

Returns
  • the product, may be null if there are no objects available.

public List<String> getIndexPaths ()

public String getIndexRootPath ()

public void setIndexingMode (IndexingMode strategy)

Sets the Indexing Mode - one of either DIRECT or QUEUED.

Parameters
strategy the indexing mode.