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(TransportService transportService, TransportResyncReplicationAction syncAction)PrimaryReplicaSyncer(TransportService transportService, PrimaryReplicaSyncer.SyncAction syncAction) -
Method Summary
Modifier and Type Method Description voidresync(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)
-