org.apache.solr.cloud

## Class SyncStrategy

- java.lang.Object
- - org.apache.solr.cloud.SyncStrategy

-     public class SyncStrategy
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SyncStrategy(CoreContainer cc)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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)

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.