public class IndexStore extends AbstractIndexComponent implements Closeable
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_STORE_THROTTLE_MAX_BYTES_PER_SEC |
static String |
INDEX_STORE_THROTTLE_TYPE |
protected IndicesStore |
indicesStore |
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
IndexStore(Index index,
IndexSettingsService settingsService,
IndicesStore indicesStore) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
StoreRateLimiting |
rateLimiting()
Returns the rate limiting, either of the index is explicitly configured, or
the node level one (defaults to the node level one).
|
Class<? extends DirectoryService> |
shardDirectory()
The shard store class that should be used for each shard.
|
index, indexSettings
public static final String INDEX_STORE_THROTTLE_TYPE
public static final String INDEX_STORE_THROTTLE_MAX_BYTES_PER_SEC
protected final IndicesStore indicesStore
@Inject public IndexStore(Index index, IndexSettingsService settingsService, IndicesStore indicesStore)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public StoreRateLimiting rateLimiting()
public Class<? extends DirectoryService> shardDirectory()
Copyright © 2009–2016. All rights reserved.