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 classPrimaryReplicaSyncer.ResyncRequeststatic classPrimaryReplicaSyncer.ResyncTaskstatic interfacePrimaryReplicaSyncer.SyncAction -
Field Summary
Fields Modifier and Type Field Description static ByteSizeValueDEFAULT_CHUNK_SIZE -
Constructor Summary
Constructors Constructor Description PrimaryReplicaSyncer(TaskManager taskManager, PrimaryReplicaSyncer.SyncAction syncAction)PrimaryReplicaSyncer(TransportService transportService, TransportResyncReplicationAction syncAction) -
Method Summary
Modifier and Type Method Description voidresync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)
-
Field Details
-
Constructor Details
-
PrimaryReplicaSyncer
@Inject public PrimaryReplicaSyncer(TransportService transportService, TransportResyncReplicationAction syncAction) -
PrimaryReplicaSyncer
-
-
Method Details
-
resync
public void resync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)
-