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 ModifiableSolrParams
params(String... params)
void
requestRecoveries()
PeerSync.PeerSyncResult
sync(ZkController zkController, SolrCore core, ZkNodeProps leaderProps)
PeerSync.PeerSyncResult
sync(ZkController zkController, SolrCore core, ZkNodeProps leaderProps, boolean peerSyncOnlyWithActive)
-
-
-
Constructor Detail
-
SyncStrategy
public SyncStrategy(CoreContainer cc)
-
-
Method Detail
-
sync
public PeerSync.PeerSyncResult sync(ZkController zkController, SolrCore core, ZkNodeProps leaderProps)
-
sync
public PeerSync.PeerSyncResult sync(ZkController zkController, SolrCore core, ZkNodeProps leaderProps, boolean peerSyncOnlyWithActive)
-
close
public void close()
-
requestRecoveries
public void requestRecoveries()
-
params
public static ModifiableSolrParams params(String... params)
-
-