| Package | Description |
|---|---|
| org.elasticsearch.action.admin.indices.stats | |
| org.elasticsearch.common.util | |
| org.elasticsearch.index.shard | |
| org.elasticsearch.index.store |
| Constructor and Description |
|---|
ShardStats(ShardRouting routing,
ShardPath shardPath,
CommonStats commonStats,
CommitStats commitStats) |
| Modifier and Type | Method and Description |
|---|---|
ShardPath |
MultiDataPathUpgrader.pickShardPath(ShardId shard)
Picks a target ShardPath to allocate and upgrade the given shard to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiDataPathUpgrader.checkIndex(ShardPath targetPath)
Runs check-index on the target shard and throws an exception if it failed
|
void |
MultiDataPathUpgrader.upgrade(ShardId shard,
ShardPath targetPath)
Upgrades the given shard Id from multiple shard paths into the given target path.
|
| Modifier and Type | Method and Description |
|---|---|
static ShardPath |
ShardPath.loadShardPath(ESLogger logger,
NodeEnvironment env,
ShardId shardId,
Settings indexSettings)
This method walks through the nodes shard paths to find the data and state path for the given shard.
|
static ShardPath |
ShardPath.selectNewPathForShard(NodeEnvironment env,
ShardId shardId,
Settings indexSettings,
long avgShardSizeInBytes,
Map<Path,Integer> dataPathToShardCount) |
ShardPath |
IndexShard.shardPath() |
| Constructor and Description |
|---|
IndexShard(ShardId shardId,
IndexSettingsService indexSettingsService,
IndicesLifecycle indicesLifecycle,
Store store,
StoreRecoveryService storeRecoveryService,
ThreadPool threadPool,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache,
IndexAliasesService indexAliasesService,
IndicesQueryCache indicesQueryCache,
ShardPercolateService shardPercolateService,
CodecService codecService,
ShardTermVectorsService termVectorsService,
IndexFieldDataService indexFieldDataService,
IndexService indexService,
IndicesWarmer warmer,
SnapshotDeletionPolicy deletionPolicy,
SimilarityService similarityService,
EngineFactory factory,
ClusterService clusterService,
ShardPath path,
BigArrays bigArrays,
IndexSearcherWrappingService wrappingService,
IndexingMemoryController indexingMemoryController) |
ShadowIndexShard(ShardId shardId,
IndexSettingsService indexSettingsService,
IndicesLifecycle indicesLifecycle,
Store store,
StoreRecoveryService storeRecoveryService,
ThreadPool threadPool,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache,
IndexAliasesService indexAliasesService,
IndicesQueryCache indicesQueryCache,
ShardPercolateService shardPercolateService,
CodecService codecService,
ShardTermVectorsService termVectorsService,
IndexFieldDataService indexFieldDataService,
IndexService indexService,
IndicesWarmer warmer,
SnapshotDeletionPolicy deletionPolicy,
SimilarityService similarityService,
EngineFactory factory,
ClusterService clusterService,
ShardPath path,
BigArrays bigArrays,
IndexSearcherWrappingService wrappingService,
IndexingMemoryController indexingMemoryController) |
| Constructor and Description |
|---|
FsDirectoryService(IndexSettingsService indexSettingsService,
IndexStore indexStore,
ShardPath path) |
FsDirectoryService(Settings indexSettings,
IndexStore indexStore,
ShardPath path) |
StoreModule(Class<? extends DirectoryService> shardDirectory,
ShardLock lock,
Store.OnClose closeCallback,
ShardPath path) |
Copyright © 2009–2017. All rights reserved.