public class RecoverySettings extends AbstractComponent implements Closeable
Modifier and Type | Field and Description |
---|---|
static String |
INDICES_RECOVERY_ACTIVITY_TIMEOUT
recoveries that don't show any activity for more then this interval will be failed.
|
static String |
INDICES_RECOVERY_COMPRESS |
static String |
INDICES_RECOVERY_CONCURRENT_SMALL_FILE_STREAMS |
static String |
INDICES_RECOVERY_CONCURRENT_STREAMS |
static String |
INDICES_RECOVERY_FILE_CHUNK_SIZE |
static String |
INDICES_RECOVERY_INTERNAL_ACTION_TIMEOUT
timeout value to use for requests made as part of the recovery process
|
static String |
INDICES_RECOVERY_INTERNAL_LONG_ACTION_TIMEOUT
timeout value to use for requests made as part of the recovery process that are expected to take long time.
|
static String |
INDICES_RECOVERY_MAX_BYTES_PER_SEC |
static String |
INDICES_RECOVERY_MAX_SIZE_PER_SEC
Deprecated.
|
static String |
INDICES_RECOVERY_RETRY_DELAY_NETWORK
how long to wait before retrying after network related issues
|
static String |
INDICES_RECOVERY_RETRY_DELAY_STATE_SYNC
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.
|
static String |
INDICES_RECOVERY_TRANSLOG_OPS |
static String |
INDICES_RECOVERY_TRANSLOG_SIZE |
static long |
SMALL_FILE_CUTOFF_BYTES |
deprecationLogger, logger, settings
Constructor and Description |
---|
RecoverySettings(Settings settings,
NodeSettingsService nodeSettingsService) |
Modifier and Type | Method and Description |
---|---|
TimeValue |
activityTimeout() |
void |
close() |
boolean |
compress() |
ThreadPoolExecutor |
concurrentSmallFileStreamPool() |
ThreadPoolExecutor |
concurrentStreamPool() |
int |
concurrentStreams() |
ByteSizeValue |
fileChunkSize() |
TimeValue |
internalActionLongTimeout() |
TimeValue |
internalActionTimeout() |
org.apache.lucene.store.RateLimiter |
rateLimiter() |
TimeValue |
retryDelayNetwork() |
TimeValue |
retryDelayStateSync() |
int |
translogOps() |
ByteSizeValue |
translogSize() |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String INDICES_RECOVERY_FILE_CHUNK_SIZE
public static final String INDICES_RECOVERY_TRANSLOG_OPS
public static final String INDICES_RECOVERY_TRANSLOG_SIZE
public static final String INDICES_RECOVERY_COMPRESS
public static final String INDICES_RECOVERY_CONCURRENT_STREAMS
public static final String INDICES_RECOVERY_CONCURRENT_SMALL_FILE_STREAMS
public static final String INDICES_RECOVERY_MAX_BYTES_PER_SEC
public static final String INDICES_RECOVERY_RETRY_DELAY_STATE_SYNC
public static final String INDICES_RECOVERY_RETRY_DELAY_NETWORK
public static final String INDICES_RECOVERY_ACTIVITY_TIMEOUT
public static final String INDICES_RECOVERY_INTERNAL_ACTION_TIMEOUT
public static final String INDICES_RECOVERY_INTERNAL_LONG_ACTION_TIMEOUT
public static final long SMALL_FILE_CUTOFF_BYTES
@Deprecated public static final String INDICES_RECOVERY_MAX_SIZE_PER_SEC
INDICES_RECOVERY_MAX_BYTES_PER_SEC
instead@Inject public RecoverySettings(Settings settings, NodeSettingsService nodeSettingsService)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public ByteSizeValue fileChunkSize()
public boolean compress()
public int translogOps()
public ByteSizeValue translogSize()
public int concurrentStreams()
public ThreadPoolExecutor concurrentStreamPool()
public ThreadPoolExecutor concurrentSmallFileStreamPool()
public org.apache.lucene.store.RateLimiter rateLimiter()
public TimeValue retryDelayNetwork()
public TimeValue retryDelayStateSync()
public TimeValue activityTimeout()
public TimeValue internalActionTimeout()
public TimeValue internalActionLongTimeout()
Copyright © 2009–2016. All rights reserved.