Constructor and Description |
---|
ClusterIndexHealth(IndexMetaData indexMetaData,
IndexRoutingTable indexRoutingTable) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusterChangedEvent.indexMetaDataChanged(IndexMetaData current) |
Modifier and Type | Method and Description |
---|---|
ClusterBlocks.Builder |
ClusterBlocks.Builder.addBlocks(IndexMetaData indexMetaData) |
Modifier and Type | Method and Description |
---|---|
IndexMetaData |
IndexMetaData.Builder.build() |
static IndexMetaData |
IndexMetaData.Builder.fromXContent(XContentParser parser) |
IndexMetaData |
MetaData.Builder.get(String index) |
IndexMetaData |
MetaData.index(String index) |
static IndexMetaData |
IndexMetaData.Builder.readFrom(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
ImmutableOpenMap<String,IndexMetaData> |
MetaData.getIndices() |
ImmutableOpenMap<String,IndexMetaData> |
MetaData.indices() |
com.google.common.collect.UnmodifiableIterator<IndexMetaData> |
MetaData.iterator() |
Modifier and Type | Method and Description |
---|---|
static IndexMetaData.Builder |
IndexMetaData.builder(IndexMetaData indexMetaData) |
MetaData.Builder |
MetaData.Builder.put(IndexMetaData indexMetaData,
boolean incrementVersion) |
static void |
IndexMetaData.Builder.toXContent(IndexMetaData indexMetaData,
XContentBuilder builder,
ToXContent.Params params) |
static void |
IndexMetaData.Builder.writeTo(IndexMetaData indexMetaData,
StreamOutput out) |
Constructor and Description |
---|
Builder(IndexMetaData indexMetaData) |
Modifier and Type | Method and Description |
---|---|
RoutingTable.Builder |
RoutingTable.Builder.addAsNew(IndexMetaData indexMetaData) |
RoutingTable.Builder |
RoutingTable.Builder.addAsNewRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource,
com.carrotsearch.hppc.IntSet ignoreShards) |
RoutingTable.Builder |
RoutingTable.Builder.addAsRecovery(IndexMetaData indexMetaData) |
RoutingTable.Builder |
RoutingTable.Builder.addAsRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource) |
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsNew(IndexMetaData indexMetaData)
Initializes a new empty index, as if it was created from an API.
|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsNewRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource,
com.carrotsearch.hppc.IntSet ignoreShards)
Initializes a new empty index, to be restored from a snapshot
|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsRecovery(IndexMetaData indexMetaData)
Initializes a new empty index, as if it was created from an API.
|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource)
Initializes an existing index, to be restored from a snapshot
|
List<String> |
IndexRoutingTable.validate(IndexMetaData indexMetaData)
validate based on a meta data, returning failures found
|
Modifier and Type | Method and Description |
---|---|
IndexMetaData |
PlainOperationRouting.indexMetaData(ClusterState clusterState,
String index) |
Modifier and Type | Method and Description |
---|---|
void |
LocalAllocateDangledIndices.allocateDangled(IndexMetaData[] indices,
LocalAllocateDangledIndices.Listener listener) |
Modifier and Type | Method and Description |
---|---|
boolean |
IndicesService.canDeleteShardContent(ShardId shardId,
IndexMetaData metaData)
Returns
true iff the shards content for the given shard can be deleted. |
void |
IndicesService.deleteClosedIndex(String reason,
IndexMetaData metaData,
ClusterState clusterState) |
void |
IndicesService.deleteIndexStore(String reason,
IndexMetaData metaData,
ClusterState clusterState)
Deletes the index store trying to acquire all shards locks for this index.
|
void |
IndicesService.deleteShardStore(String reason,
ShardId shardId,
IndexMetaData metaData)
This method deletes the shard contents on disk for the given shard ID.
|
abstract IndicesWarmer.TerminationHandle |
IndicesWarmer.Listener.warmNewReaders(IndexShard indexShard,
IndexMetaData indexMetaData,
IndicesWarmer.WarmerContext context,
ThreadPool threadPool)
Queue tasks to warm-up the given segments and return handles that allow to wait for termination of the execution of those tasks.
|
abstract IndicesWarmer.TerminationHandle |
IndicesWarmer.Listener.warmTopReader(IndexShard indexShard,
IndexMetaData indexMetaData,
IndicesWarmer.WarmerContext context,
ThreadPool threadPool) |
Copyright © 2009–2015. All rights reserved.