public class LuceneIndexDumper extends Object
Constructor and Description |
---|
LuceneIndexDumper(org.apache.jackrabbit.oak.spi.state.NodeState rootState,
String indexPath,
File baseDir)
Constructs the dumper for copying Lucene index contents
|
public LuceneIndexDumper(org.apache.jackrabbit.oak.spi.state.NodeState rootState, String indexPath, File baseDir)
rootState
- rootState of repositoryindexPath
- path of indexbaseDir
- directory under which index contents would be copied to. Dumper
would create a sub directory based on index path and then copy
the index content under that directorypublic void dump() throws IOException
IOException
public long getSize()
public File getIndexDir()
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.