com.atlassian.jira.issue.index
Class IndexDirectoryFactory.IndexPathAdapter

java.lang.Object
  extended by 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.Mode, IndexDirectoryFactory.Name
 
Constructor Summary
IndexDirectoryFactory.IndexPathAdapter(IndexPathManager indexPathManager, IndexWriterConfiguration writerConfiguration)
           
 
Method Summary
 Map<IndexDirectoryFactory.Name,Index.Manager> get()
          Produce an object.
 List<String> getIndexPaths()
           
 String getIndexRootPath()
           
 void setIndexingMode(IndexDirectoryFactory.Mode strategy)
          Sets the Indexing Mode - one of either DIRECT or QUEUED.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexDirectoryFactory.IndexPathAdapter

public IndexDirectoryFactory.IndexPathAdapter(@NotNull
                                              IndexPathManager indexPathManager,
                                              IndexWriterConfiguration writerConfiguration)
Method Detail

get

public Map<IndexDirectoryFactory.Name,Index.Manager> get()
Description copied from interface: Supplier
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.

Specified by:
get in interface Supplier<Map<IndexDirectoryFactory.Name,Index.Manager>>
Returns:
the product, may be null if there are no objects available.

getIndexRootPath

public String getIndexRootPath()
Specified by:
getIndexRootPath in interface IndexDirectoryFactory

getIndexPaths

public List<String> getIndexPaths()
Specified by:
getIndexPaths in interface IndexDirectoryFactory

setIndexingMode

public void setIndexingMode(IndexDirectoryFactory.Mode strategy)
Description copied from interface: IndexDirectoryFactory
Sets the Indexing Mode - one of either DIRECT or QUEUED.

Specified by:
setIndexingMode in interface IndexDirectoryFactory
Parameters:
strategy - the indexing mode.


Copyright © 2002-2012 Atlassian. All Rights Reserved.