public class IndexStore extends AbstractIndexComponent
Modifier and Type | Class and Description |
---|---|
static class |
IndexStore.IndexRateLimitingType
On an index level we can configure all of
StoreRateLimiting.Type as well as
node which will then use a global rate limiter that has it's own configuration. |
Modifier and Type | Field and Description |
---|---|
static Setting<ByteSizeValue> |
INDEX_STORE_THROTTLE_MAX_BYTES_PER_SEC_SETTING |
static Setting<IndexStore.IndexRateLimitingType> |
INDEX_STORE_THROTTLE_TYPE_SETTING |
protected IndexStoreConfig |
indexStoreConfig |
deprecationLogger, indexSettings, logger
Constructor and Description |
---|
IndexStore(IndexSettings indexSettings,
IndexStoreConfig indexStoreConfig) |
Modifier and Type | Method and Description |
---|---|
DirectoryService |
newDirectoryService(ShardPath path)
The shard store class that should be used for each shard.
|
StoreRateLimiting |
rateLimiting()
Returns the rate limiting, either of the index is explicitly configured, or
the node level one (defaults to the node level one).
|
void |
setMaxRate(ByteSizeValue rate) |
void |
setType(IndexStore.IndexRateLimitingType type) |
getIndexSettings, index
public static final Setting<IndexStore.IndexRateLimitingType> INDEX_STORE_THROTTLE_TYPE_SETTING
public static final Setting<ByteSizeValue> INDEX_STORE_THROTTLE_MAX_BYTES_PER_SEC_SETTING
protected final IndexStoreConfig indexStoreConfig
public IndexStore(IndexSettings indexSettings, IndexStoreConfig indexStoreConfig)
public StoreRateLimiting rateLimiting()
public DirectoryService newDirectoryService(ShardPath path)
public void setType(IndexStore.IndexRateLimitingType type)
public void setMaxRate(ByteSizeValue rate)