public class SnapPuller extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEX_PROPERTIES |
static String |
INTERVAL_ERR_MSG |
static String |
POLL_INTERVAL |
static String |
REPLICATION_PROPERTIES |
| Constructor and Description |
|---|
SnapPuller(NamedList initArgs,
ReplicationHandler handler,
SolrCore sc) |
| Modifier and Type | Method and Description |
|---|---|
protected static org.apache.solr.handler.SnapPuller.CompareResult |
compareFile(Directory indexDir,
Version version,
String filename,
Long backupIndexFileLen,
Long backupIndexFileChecksum) |
void |
destroy() |
protected static boolean |
modifyIndexProps(SolrCore core,
String tmpIdxDirName)
If the index is stale by any chance, load index from a different dir in the data dir.
|
public static final String INDEX_PROPERTIES
public static final String REPLICATION_PROPERTIES
public static final String POLL_INTERVAL
public static final String INTERVAL_ERR_MSG
public SnapPuller(NamedList initArgs, ReplicationHandler handler, SolrCore sc)
protected static org.apache.solr.handler.SnapPuller.CompareResult compareFile(Directory indexDir, Version version, String filename, Long backupIndexFileLen, Long backupIndexFileChecksum)
protected static boolean modifyIndexProps(SolrCore core, String tmpIdxDirName)
public void destroy()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.