public class PrimaryReplicaSyncer extends AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
PrimaryReplicaSyncer.ResyncRequest |
static class |
PrimaryReplicaSyncer.ResyncTask |
static interface |
PrimaryReplicaSyncer.SyncAction |
Modifier and Type | Field and Description |
---|---|
static ByteSizeValue |
DEFAULT_CHUNK_SIZE |
deprecationLogger, logger, settings
Constructor and Description |
---|
PrimaryReplicaSyncer(Settings settings,
TaskManager taskManager,
PrimaryReplicaSyncer.SyncAction syncAction) |
PrimaryReplicaSyncer(Settings settings,
TransportService transportService,
TransportResyncReplicationAction syncAction) |
Modifier and Type | Method and 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)