com.atlassian.jira.sharing.index
Class IndexPathDirectoryFactory
java.lang.Object
com.atlassian.jira.sharing.index.IndexPathDirectoryFactory
- All Implemented Interfaces:
- DirectoryFactory, com.atlassian.util.concurrent.Function<SharedEntity.TypeDescriptor<?>,org.apache.lucene.store.Directory>
public class IndexPathDirectoryFactory
- extends Object
- implements DirectoryFactory
An implementation that uses the IndexPathManager
as its way of getting a
Directory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexPathDirectoryFactory
public IndexPathDirectoryFactory(IndexPathManager pathManager,
LuceneDirectoryUtils luceneDirectoryUtils)
get
public org.apache.lucene.store.Directory get(SharedEntity.TypeDescriptor<?> type)
- Description copied from interface:
Function
- Resolves an output where an input is given.
- Specified by:
get
in interface com.atlassian.util.concurrent.Function<SharedEntity.TypeDescriptor<?>,org.apache.lucene.store.Directory>
- Parameters:
type
- an object of type D.
- Returns:
- the output of type R.
Copyright © 2002-2012 Atlassian. All Rights Reserved.