Modifier and Type | Method and Description |
---|---|
String[] |
IndicesAliasesRequest.AliasActions.concreteAliases(MetaData metaData,
String concreteIndex) |
Modifier and Type | Method and Description |
---|---|
protected Tuple<ActionWriteResponse,ShardFlushRequest> |
TransportShardFlushAction.shardOperationOnPrimary(MetaData metaData,
ShardFlushRequest shardRequest) |
Modifier and Type | Method and Description |
---|---|
protected Tuple<ActionWriteResponse,ReplicationRequest> |
TransportShardRefreshAction.shardOperationOnPrimary(MetaData metaData,
ReplicationRequest shardRequest) |
Modifier and Type | Method and Description |
---|---|
protected Tuple<BulkShardResponse,BulkShardRequest> |
TransportShardBulkAction.shardOperationOnPrimary(MetaData metaData,
BulkShardRequest request) |
Modifier and Type | Method and Description |
---|---|
static void |
TransportDeleteAction.resolveAndValidateRouting(MetaData metaData,
String concreteIndex,
DeleteRequest request) |
protected void |
TransportDeleteAction.resolveRequest(MetaData metaData,
String concreteIndex,
DeleteRequest request) |
protected Tuple<DeleteResponse,DeleteRequest> |
TransportDeleteAction.shardOperationOnPrimary(MetaData metaData,
DeleteRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
IndexRequest.process(MetaData metaData,
MappingMetaData mappingMd,
boolean allowIdGeneration,
String concreteIndex) |
protected void |
TransportIndexAction.resolveRequest(MetaData metaData,
String concreteIndex,
IndexRequest request) |
protected Tuple<IndexResponse,IndexRequest> |
TransportIndexAction.shardOperationOnPrimary(MetaData metaData,
IndexRequest request) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportReplicationAction.resolveRequest(MetaData metaData,
String concreteIndex,
Request request)
Resolves the target shard id of the incoming request.
|
protected abstract Tuple<Response,ReplicaRequest> |
TransportReplicationAction.shardOperationOnPrimary(MetaData metaData,
Request shardRequest)
Primary operation on node with primary copy, the provided metadata should be used for request validation if needed
|
Modifier and Type | Method and Description |
---|---|
static void |
TransportUpdateAction.resolveAndValidateRouting(MetaData metaData,
String concreteIndex,
UpdateRequest request) |
Modifier and Type | Method and Description |
---|---|
MetaData |
ClusterState.getMetaData() |
MetaData |
ClusterState.metaData() |
Modifier and Type | Method and Description |
---|---|
ClusterState.Builder |
ClusterState.Builder.metaData(MetaData metaData) |
Constructor and Description |
---|
ClusterState(ClusterName clusterName,
long version,
String stateUUID,
MetaData metaData,
RoutingTable routingTable,
DiscoveryNodes nodes,
ClusterBlocks blocks,
ImmutableOpenMap<String,ClusterState.Custom> customs,
boolean wasReadFromDiff) |
Constructor and Description |
---|
ClusterStateHealth(MetaData clusterMetaData,
RoutingTable routingTables)
Creates a new
ClusterStateHealth instance based on cluster meta data and its routing table as a convenience. |
Modifier and Type | Field and Description |
---|---|
static MetaData |
MetaData.EMPTY_META_DATA |
static MetaData |
MetaData.PROTO |
Modifier and Type | Method and Description |
---|---|
static MetaData |
MetaData.addDefaultUnitsIfNeeded(ESLogger logger,
MetaData metaData)
As of 2.0 we require units for time and byte-sized settings.
|
MetaData |
MetaData.Builder.build() |
static MetaData |
MetaData.Builder.fromXContent(XContentParser parser) |
MetaData |
MetaData.fromXContent(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
MetaData |
MetaData.readFrom(StreamInput in) |
static MetaData |
MetaData.Builder.readFrom(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
Diff<MetaData> |
MetaData.diff(MetaData previousState) |
Diff<MetaData> |
MetaData.readDiffFrom(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
static MetaData |
MetaData.addDefaultUnitsIfNeeded(ESLogger logger,
MetaData metaData)
As of 2.0 we require units for time and byte-sized settings.
|
static MetaData.Builder |
MetaData.builder(MetaData metaData) |
Diff<MetaData> |
MetaData.diff(MetaData previousState) |
boolean |
MetaData.equalsAliases(MetaData other) |
static boolean |
MetaData.isGlobalStateEquals(MetaData metaData1,
MetaData metaData2) |
static String |
MetaData.Builder.toXContent(MetaData metaData) |
static void |
MetaData.Builder.toXContent(MetaData metaData,
XContentBuilder builder,
ToXContent.Params params) |
void |
AliasValidator.validateAlias(Alias alias,
String index,
MetaData metaData)
Allows to validate an
Alias and make sure
it's valid before it gets added to the index metadata. |
void |
AliasValidator.validateAliasAction(AliasAction aliasAction,
MetaData metaData)
Allows to validate an
AliasAction and make sure
it's valid before it gets added to the index metadata. |
void |
AliasValidator.validateAliasMetaData(AliasMetaData aliasMetaData,
String index,
MetaData metaData)
Allows to validate an
AliasMetaData and make sure
it's valid before it gets added to the index metadata. |
Constructor and Description |
---|
MetaData.Builder(MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
MetaData |
RoutingNodes.getMetaData() |
MetaData |
RoutingNodes.metaData() |
Modifier and Type | Method and Description |
---|---|
RoutingTableValidation |
RoutingTable.validate(MetaData metaData) |
void |
IndexRoutingTable.validate(RoutingTableValidation validation,
MetaData metaData) |
RoutingTable |
RoutingTable.validateRaiseException(MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
MetaData |
RoutingAllocation.metaData()
Get metadata of routing nodes
|
Modifier and Type | Method and Description |
---|---|
MetaData |
GatewayMetaState.loadMetaState() |
MetaData |
TransportNodesListGatewayMetaState.NodeGatewayMetaState.metaData() |
Modifier and Type | Method and Description |
---|---|
AsyncShardFetch.FetchResult<T> |
AsyncShardFetch.fetchData(DiscoveryNodes nodes,
MetaData metaData,
Set<String> ignoreNodes)
Fetches the data for the relevant shard.
|
void |
DanglingIndicesState.processDanglingIndices(MetaData metaData)
Process dangling indices based on the provided meta data, handling cleanup, finding
new dangling indices, and allocating outstanding ones.
|
static Iterable<GatewayMetaState.IndexMetaWriteInfo> |
GatewayMetaState.resolveStatesToBeWritten(com.google.common.collect.ImmutableSet<String> previouslyWrittenIndices,
Set<String> potentiallyUnwrittenIndices,
MetaData previousMetaData,
MetaData newMetaData)
Loads the current meta state for each index in the new cluster state and checks if it has to be persisted.
|
Constructor and Description |
---|
TransportNodesListGatewayMetaState.NodeGatewayMetaState(DiscoveryNode node,
MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
MetaData |
Repository.readSnapshotMetaData(SnapshotId snapshotId,
Snapshot snapshot,
List<String> indices)
Returns global metadata associate with the snapshot.
|
Modifier and Type | Method and Description |
---|---|
void |
Repository.initializeSnapshot(SnapshotId snapshotId,
List<String> indices,
MetaData metaData)
Starts snapshotting process
|
Modifier and Type | Method and Description |
---|---|
MetaData |
BlobStoreRepository.readSnapshotMetaData(SnapshotId snapshotId,
Snapshot snapshot,
List<String> indices)
Returns global metadata associate with the snapshot.
|
Modifier and Type | Method and Description |
---|---|
void |
BlobStoreRepository.initializeSnapshot(SnapshotId snapshotId,
List<String> indices,
MetaData metaData)
Starts snapshotting process
|
Copyright © 2009–2016. All rights reserved.