Modifier and Type | Method and Description |
---|---|
boolean |
ClusterChangedEvent.indexMetaDataChanged(IndexMetaData current)
Returns
true iff the IndexMetaData for a given index
has changed between the previous cluster state and the new cluster state. |
Modifier and Type | Method and Description |
---|---|
ClusterBlocks.Builder |
ClusterBlocks.Builder.addBlocks(IndexMetaData indexMetaData) |
ClusterBlocks.Builder |
ClusterBlocks.Builder.updateBlocks(IndexMetaData indexMetaData) |
Constructor and Description |
---|
ClusterIndexHealth(IndexMetaData indexMetaData,
IndexRoutingTable indexRoutingTable) |
Modifier and Type | Field and Description |
---|---|
static IndexMetaData |
IndexMetaData.PROTO |
Modifier and Type | Method and Description |
---|---|
IndexMetaData |
IndexMetaData.Builder.build() |
static IndexMetaData |
IndexMetaData.Builder.fromXContent(XContentParser parser) |
IndexMetaData |
IndexMetaData.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
IndexMetaData |
MetaData.Builder.get(String index) |
IndexMetaData |
AliasOrIndex.Index.getIndex() |
IndexMetaData |
MetaData.index(String index) |
IndexMetaData |
IndexMetaData.readFrom(StreamInput in) |
static IndexMetaData |
IndexMetaData.Builder.readFrom(StreamInput in) |
IndexMetaData |
MetaDataIndexUpgradeService.upgradeIndexMetaData(IndexMetaData indexMetaData)
Checks that the index can be upgraded to the current version of the master node.
|
Modifier and Type | Method and Description |
---|---|
Diff<IndexMetaData> |
IndexMetaData.diff(IndexMetaData previousState) |
List<IndexMetaData> |
AliasOrIndex.getIndices() |
List<IndexMetaData> |
AliasOrIndex.Index.getIndices() |
List<IndexMetaData> |
AliasOrIndex.Alias.getIndices() |
ImmutableOpenMap<String,IndexMetaData> |
MetaData.getIndices() |
ImmutableOpenMap<String,IndexMetaData> |
MetaData.indices() |
com.google.common.collect.UnmodifiableIterator<IndexMetaData> |
MetaData.iterator() |
Diff<IndexMetaData> |
IndexMetaData.readDiffFrom(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
static IndexMetaData.Builder |
IndexMetaData.builder(IndexMetaData indexMetaData) |
Diff<IndexMetaData> |
IndexMetaData.diff(IndexMetaData previousState) |
MetaData.Builder |
MetaData.Builder.put(IndexMetaData indexMetaData,
boolean incrementVersion) |
static void |
IndexMetaData.Builder.toXContent(IndexMetaData indexMetaData,
XContentBuilder builder,
ToXContent.Params params) |
IndexMetaData |
MetaDataIndexUpgradeService.upgradeIndexMetaData(IndexMetaData indexMetaData)
Checks that the index can be upgraded to the current version of the master node.
|
Modifier and Type | Method and Description |
---|---|
MetaData.Builder |
MetaData.Builder.indices(ImmutableOpenMap<String,IndexMetaData> indices) |
Constructor and Description |
---|
AliasOrIndex.Alias(AliasMetaData aliasMetaData,
IndexMetaData indexMetaData) |
AliasOrIndex.Index(IndexMetaData indexMetaData) |
IndexMetaData.Builder(IndexMetaData indexMetaData) |
Modifier and Type | Method and Description |
---|---|
RoutingTable.Builder |
RoutingTable.Builder.addAsFromCloseToOpen(IndexMetaData indexMetaData) |
RoutingTable.Builder |
RoutingTable.Builder.addAsFromDangling(IndexMetaData indexMetaData) |
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.initializeAsFromCloseToOpen(IndexMetaData indexMetaData)
Initializes a new empty index, as as a result of opening a closed index.
|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsFromDangling(IndexMetaData indexMetaData)
Initializes a new index caused by dangling index imported.
|
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 |
---|---|
Decision |
FilterAllocationDecider.canAllocate(IndexMetaData indexMetaData,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDeciders.canAllocate(IndexMetaData indexMetaData,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canAllocate(IndexMetaData indexMetaData,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be allocated at all at this state of the
RoutingAllocation . |
Modifier and Type | Method and Description |
---|---|
IndexMetaData |
GatewayMetaState.IndexMetaWriteInfo.getNewMetaData() |
Modifier and Type | Method and Description |
---|---|
void |
AsyncShardFetch.List.list(ShardId shardId,
IndexMetaData indexMetaData,
String[] nodesIds,
ActionListener<NodesResponse> listener) |
void |
TransportNodesListGatewayStartedShards.list(ShardId shardId,
IndexMetaData indexMetaData,
String[] nodesIds,
ActionListener<TransportNodesListGatewayStartedShards.NodesGatewayStartedShards> listener) |
Modifier and Type | Method and Description |
---|---|
void |
LocalAllocateDangledIndices.allocateDangled(Collection<IndexMetaData> indices,
LocalAllocateDangledIndices.Listener listener) |
Constructor and Description |
---|
GatewayMetaState.IndexMetaWriteInfo(IndexMetaData newMetaData,
IndexMetaData previousMetaData,
String reason) |
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,
boolean closed)
Deletes the index store trying to acquire all shards locks for this index.
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
TransportNodesListShardStoreMetaData.list(ShardId shardId,
IndexMetaData indexMetaData,
String[] nodesIds,
ActionListener<TransportNodesListShardStoreMetaData.NodesStoreFilesMetaData> listener) |
Copyright © 2009–2016. All rights reserved.