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(TaskManager taskManager, PrimaryReplicaSyncer.SyncAction syncAction)
PrimaryReplicaSyncer(TransportService transportService, TransportResyncReplicationAction syncAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)
-
-
-
Field Detail
-
DEFAULT_CHUNK_SIZE
public static final ByteSizeValue DEFAULT_CHUNK_SIZE
-
-
Constructor Detail
-
PrimaryReplicaSyncer
@Inject public PrimaryReplicaSyncer(TransportService transportService, TransportResyncReplicationAction syncAction)
-
PrimaryReplicaSyncer
public PrimaryReplicaSyncer(TaskManager taskManager, PrimaryReplicaSyncer.SyncAction syncAction)
-
-
Method Detail
-
resync
public void resync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)
-
-