Package org.apache.solr.cloud
Class SyncStrategy
- java.lang.Object
-
- org.apache.solr.cloud.SyncStrategy
-
public class SyncStrategy extends Object
-
-
Constructor Summary
Constructors Constructor Description SyncStrategy(CoreContainer cc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static org.apache.solr.common.params.ModifiableSolrParams
params(String... params)
void
requestRecoveries()
PeerSync.PeerSyncResult
sync(ZkController zkController, SolrCore core, org.apache.solr.common.cloud.ZkNodeProps leaderProps)
PeerSync.PeerSyncResult
sync(ZkController zkController, SolrCore core, org.apache.solr.common.cloud.ZkNodeProps leaderProps, boolean peerSyncOnlyWithActive)
-
-
-
Constructor Detail
-
SyncStrategy
public SyncStrategy(CoreContainer cc)
-
-
Method Detail
-
sync
public PeerSync.PeerSyncResult sync(ZkController zkController, SolrCore core, org.apache.solr.common.cloud.ZkNodeProps leaderProps)
-
sync
public PeerSync.PeerSyncResult sync(ZkController zkController, SolrCore core, org.apache.solr.common.cloud.ZkNodeProps leaderProps, boolean peerSyncOnlyWithActive)
-
close
public void close()
-
requestRecoveries
public void requestRecoveries()
-
params
public static org.apache.solr.common.params.ModifiableSolrParams params(String... params)
-
-