Package org.elasticsearch.index.shard
Class PrimaryReplicaSyncer
java.lang.Object
org.elasticsearch.index.shard.PrimaryReplicaSyncer
public class PrimaryReplicaSyncer
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrimaryReplicaSyncer.ResyncRequest
static class
PrimaryReplicaSyncer.ResyncTask
static interface
PrimaryReplicaSyncer.SyncAction
-
Field Summary
Fields Modifier and Type Field Description static ByteSizeValue
DEFAULT_CHUNK_SIZE
-
Constructor Summary
Constructors Constructor Description PrimaryReplicaSyncer(TransportService transportService, TransportResyncReplicationAction syncAction)
PrimaryReplicaSyncer(TransportService transportService, PrimaryReplicaSyncer.SyncAction syncAction)
-
Method Summary
Modifier and Type Method Description void
resync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_CHUNK_SIZE
-
-
Constructor Details
-
PrimaryReplicaSyncer
@Inject public PrimaryReplicaSyncer(TransportService transportService, TransportResyncReplicationAction syncAction) -
PrimaryReplicaSyncer
public PrimaryReplicaSyncer(TransportService transportService, PrimaryReplicaSyncer.SyncAction syncAction)
-
-
Method Details
-
resync
public void resync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)
-