public class PrimaryReplicaSyncer extends AbstractComponent
Modifier and Type | Class | Description |
---|---|---|
static class |
PrimaryReplicaSyncer.ResyncRequest |
|
static class |
PrimaryReplicaSyncer.ResyncTask |
|
static interface |
PrimaryReplicaSyncer.SyncAction |
Modifier and Type | Field | Description |
---|---|---|
static ByteSizeValue |
DEFAULT_CHUNK_SIZE |
deprecationLogger, logger, settings
Constructor | Description |
---|---|
PrimaryReplicaSyncer(Settings settings,
TaskManager taskManager,
PrimaryReplicaSyncer.SyncAction syncAction) |
|
PrimaryReplicaSyncer(Settings settings,
TransportService transportService,
TransportResyncReplicationAction syncAction) |
Modifier and Type | Method | Description |
---|---|---|
void |
resync(IndexShard indexShard,
ActionListener<PrimaryReplicaSyncer.ResyncTask> listener) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final ByteSizeValue DEFAULT_CHUNK_SIZE
@Inject public PrimaryReplicaSyncer(Settings settings, TransportService transportService, TransportResyncReplicationAction syncAction)
public PrimaryReplicaSyncer(Settings settings, TaskManager taskManager, PrimaryReplicaSyncer.SyncAction syncAction)
public void resync(IndexShard indexShard, ActionListener<PrimaryReplicaSyncer.ResyncTask> listener)