public class ReplicateFromLeader extends Object
Constructor and Description |
---|
ReplicateFromLeader(CoreContainer cc,
String coreName) |
Modifier and Type | Method and Description |
---|---|
static String |
getCommitVersion(SolrCore solrCore) |
void |
startReplication(boolean switchTransactionLog)
Start a replication handler thread that will periodically pull indices from the shard leader
|
void |
stopReplication() |
public ReplicateFromLeader(CoreContainer cc, String coreName)
public void startReplication(boolean switchTransactionLog) throws InterruptedException
switchTransactionLog
- if true, ReplicationHandler will rotate the transaction log once
the replication is doneInterruptedException
public void stopReplication()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.