public class RecoverySettings extends AbstractComponent
Modifier and Type | Field | Description |
---|---|---|
static ByteSizeValue |
DEFAULT_CHUNK_SIZE |
|
static Setting<TimeValue> |
INDICES_RECOVERY_ACTIVITY_TIMEOUT_SETTING |
recoveries that don't show any activity for more then this interval will be failed.
|
static Setting<TimeValue> |
INDICES_RECOVERY_INTERNAL_ACTION_TIMEOUT_SETTING |
timeout value to use for requests made as part of the recovery process
|
static Setting<TimeValue> |
INDICES_RECOVERY_INTERNAL_LONG_ACTION_TIMEOUT_SETTING |
timeout value to use for requests made as part of the recovery process that are expected to take long time.
|
static Setting<ByteSizeValue> |
INDICES_RECOVERY_MAX_BYTES_PER_SEC_SETTING |
|
static Setting<TimeValue> |
INDICES_RECOVERY_RETRY_DELAY_NETWORK_SETTING |
how long to wait before retrying after network related issues
|
static Setting<TimeValue> |
INDICES_RECOVERY_RETRY_DELAY_STATE_SYNC_SETTING |
how long to wait before retrying after issues cause by cluster state syncing between nodes
i.e., local node is not yet known on remote node, remote shard not yet started etc.
|
deprecationLogger, logger, settings
Constructor | Description |
---|---|
RecoverySettings(Settings settings,
ClusterSettings clusterSettings) |
Modifier and Type | Method | Description |
---|---|---|
TimeValue |
activityTimeout() |
|
ByteSizeValue |
getChunkSize() |
|
TimeValue |
internalActionLongTimeout() |
|
TimeValue |
internalActionTimeout() |
|
org.apache.lucene.store.RateLimiter |
rateLimiter() |
|
TimeValue |
retryDelayNetwork() |
|
TimeValue |
retryDelayStateSync() |
|
void |
setActivityTimeout(TimeValue activityTimeout) |
|
void |
setChunkSize(ByteSizeValue chunkSize) |
|
void |
setInternalActionLongTimeout(TimeValue internalActionLongTimeout) |
|
void |
setInternalActionTimeout(TimeValue internalActionTimeout) |
|
void |
setRetryDelayNetwork(TimeValue retryDelayNetwork) |
|
void |
setRetryDelayStateSync(TimeValue retryDelayStateSync) |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final Setting<ByteSizeValue> INDICES_RECOVERY_MAX_BYTES_PER_SEC_SETTING
public static final Setting<TimeValue> INDICES_RECOVERY_RETRY_DELAY_STATE_SYNC_SETTING
public static final Setting<TimeValue> INDICES_RECOVERY_RETRY_DELAY_NETWORK_SETTING
public static final Setting<TimeValue> INDICES_RECOVERY_INTERNAL_ACTION_TIMEOUT_SETTING
public static final Setting<TimeValue> INDICES_RECOVERY_INTERNAL_LONG_ACTION_TIMEOUT_SETTING
public static final Setting<TimeValue> INDICES_RECOVERY_ACTIVITY_TIMEOUT_SETTING
public static final ByteSizeValue DEFAULT_CHUNK_SIZE
public RecoverySettings(Settings settings, ClusterSettings clusterSettings)
public org.apache.lucene.store.RateLimiter rateLimiter()
public TimeValue retryDelayNetwork()
public TimeValue retryDelayStateSync()
public TimeValue activityTimeout()
public TimeValue internalActionTimeout()
public TimeValue internalActionLongTimeout()
public ByteSizeValue getChunkSize()
public void setChunkSize(ByteSizeValue chunkSize)
public void setRetryDelayStateSync(TimeValue retryDelayStateSync)
public void setRetryDelayNetwork(TimeValue retryDelayNetwork)
public void setActivityTimeout(TimeValue activityTimeout)
public void setInternalActionTimeout(TimeValue internalActionTimeout)
public void setInternalActionLongTimeout(TimeValue internalActionLongTimeout)