public class IndexFetcher extends Object
Provides functionality of downloading changed index files as well as config files and a timer for scheduling fetches from the master.
Modifier and Type | Class and Description |
---|---|
protected static class |
IndexFetcher.CompareResult |
static class |
IndexFetcher.IndexFetchResult |
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_PROPERTIES |
static String |
REPLICATION_PROPERTIES |
Constructor and Description |
---|
IndexFetcher(NamedList initArgs,
ReplicationHandler handler,
SolrCore sc) |
Modifier and Type | Method and Description |
---|---|
protected static IndexFetcher.CompareResult |
compareFile(Directory indexDir,
String filename,
Long backupIndexFileLen,
Long backupIndexFileChecksum) |
void |
destroy() |
public static final String INDEX_PROPERTIES
public static final String REPLICATION_PROPERTIES
public IndexFetcher(NamedList initArgs, ReplicationHandler handler, SolrCore sc)
protected static IndexFetcher.CompareResult compareFile(Directory indexDir, String filename, Long backupIndexFileLen, Long backupIndexFileChecksum)
public void destroy()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.