com.atlassian.jira.sharing.index
Class MemoryDirectoryFactory
java.lang.Object
com.atlassian.jira.sharing.index.MemoryDirectoryFactory
- All Implemented Interfaces:
- DirectoryFactory, com.atlassian.util.concurrent.Function<SharedEntity.TypeDescriptor<?>,org.apache.lucene.store.Directory>
public class MemoryDirectoryFactory
- extends Object
- implements DirectoryFactory
An implementation of DirectoryFactory
that uses a RAMDirectory
This is for testing only
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryDirectoryFactory
public MemoryDirectoryFactory()
get
public org.apache.lucene.store.Directory get(SharedEntity.TypeDescriptor<?> input)
- 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:
input
- an object of type D.
- Returns:
- the output of type R.
Copyright © 2002-2012 Atlassian. All Rights Reserved.