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
IOExceptionpublic long getSize()
public File getIndexDir()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.