public abstract class AbstractIndexStore extends AbstractIndexComponent implements IndexStore
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEX_FOLDER_NAME |
static String |
INDEX_STORE_THROTTLE_MAX_BYTES_PER_SEC |
static String |
INDEX_STORE_THROTTLE_TYPE |
protected IndexService |
indexService |
protected IndicesStore |
indicesStore |
static String |
TRANSLOG_FOLDER_NAME |
componentSettings, index, indexSettings, logger| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIndexStore(Index index,
Settings indexSettings,
IndexService indexService,
IndicesStore indicesStore,
NodeEnvironment nodeEnv) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the index component.
|
IndicesStore |
indicesStore() |
StoreRateLimiting |
rateLimiting()
Returns the rate limiting, either of the index is explicitly configured, or
the node level one (defaults to the node level one).
|
Path[] |
shardIndexLocations(ShardId shardId)
Return an array of all index folder locations for a given shard.
|
Path[] |
shardTranslogLocations(ShardId shardId)
Return an array of all translog folder locations for a given shard.
|
index, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpersistent, shardDirectorypublic static final String INDEX_STORE_THROTTLE_TYPE
public static final String INDEX_STORE_THROTTLE_MAX_BYTES_PER_SEC
public static final String INDEX_FOLDER_NAME
public static final String TRANSLOG_FOLDER_NAME
protected final IndexService indexService
protected final IndicesStore indicesStore
protected AbstractIndexStore(Index index, @IndexSettings Settings indexSettings, IndexService indexService, IndicesStore indicesStore, NodeEnvironment nodeEnv)
public IndicesStore indicesStore()
indicesStore in interface IndexStorepublic void close()
throws ElasticsearchException
CloseableIndexComponentclose in interface Closeableclose in interface AutoCloseableclose in interface CloseableIndexComponentElasticsearchExceptionpublic StoreRateLimiting rateLimiting()
IndexStorerateLimiting in interface IndexStorepublic Path[] shardIndexLocations(ShardId shardId)
shardIndexLocations in interface IndexStorepublic Path[] shardTranslogLocations(ShardId shardId)
shardTranslogLocations in interface IndexStoreCopyright © 2009–2016. All rights reserved.