org.apache.solr.handler

## Class CdcrReplicator

- java.lang.Object
- - org.apache.solr.handler.CdcrReplicator

- All Implemented Interfaces:
    Runnable

      public class CdcrReplicator
      extends Object
      implements Runnable

  The replication logic. Given a `CdcrReplicatorState`, it reads all the new entries in the update log and forward them to the target cluster. If an error occurs, the replication is stopped and will be tried again later.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CdcrReplicator.CdcrReplicatorException` Exception to catch update request issues with the target cluster.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CdcrReplicator(org.apache.solr.handler.CdcrReplicatorState state, int batchSize)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()`

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

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

- - ### Constructor Detail

    - #### CdcrReplicator

          public CdcrReplicator(org.apache.solr.handler.CdcrReplicatorState state,
                                int batchSize)

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

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