public class FSDirectoryFactory extends Object implements DirectoryFactory
Constructor and Description |
---|
FSDirectoryFactory(File baseDir) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.Directory |
newInstance(IndexDefinition definition,
org.apache.jackrabbit.oak.spi.state.NodeBuilder builder,
String dirName,
boolean reindex) |
boolean |
remoteDirectory()
Determines if the Directory is having a remote storage
or local storage
|
public FSDirectoryFactory(File baseDir)
public org.apache.lucene.store.Directory newInstance(IndexDefinition definition, org.apache.jackrabbit.oak.spi.state.NodeBuilder builder, String dirName, boolean reindex) throws IOException
newInstance
in interface DirectoryFactory
IOException
public boolean remoteDirectory()
DirectoryFactory
remoteDirectory
in interface DirectoryFactory
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.