Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterHealthAction.checkBlock(ClusterHealthRequest request,
ClusterState state) |
protected void |
TransportClusterHealthAction.masterOperation(ClusterHealthRequest request,
ClusterState state,
ActionListener<ClusterHealthResponse> listener) |
protected void |
TransportClusterHealthAction.masterOperation(Task task,
ClusterHealthRequest request,
ClusterState unusedState,
ActionListener<ClusterHealthResponse> listener) |
Constructor and Description |
---|
ClusterHealthResponse(String clusterName,
String[] concreteIndices,
ClusterState clusterState)
needed for plugins BWC
|
ClusterHealthResponse(String clusterName,
String[] concreteIndices,
ClusterState clusterState,
int numberOfPendingTasks,
int numberOfInFlightFetch,
int delayedUnassignedShards,
TimeValue taskMaxWaitingTime) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportDeleteRepositoryAction.checkBlock(DeleteRepositoryRequest request,
ClusterState state) |
protected void |
TransportDeleteRepositoryAction.masterOperation(DeleteRepositoryRequest request,
ClusterState state,
ActionListener<DeleteRepositoryResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetRepositoriesAction.checkBlock(GetRepositoriesRequest request,
ClusterState state) |
protected void |
TransportGetRepositoriesAction.masterOperation(GetRepositoriesRequest request,
ClusterState state,
ActionListener<GetRepositoriesResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPutRepositoryAction.checkBlock(PutRepositoryRequest request,
ClusterState state) |
protected void |
TransportPutRepositoryAction.masterOperation(PutRepositoryRequest request,
ClusterState state,
ActionListener<PutRepositoryResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportVerifyRepositoryAction.checkBlock(VerifyRepositoryRequest request,
ClusterState state) |
protected void |
TransportVerifyRepositoryAction.masterOperation(VerifyRepositoryRequest request,
ClusterState state,
ActionListener<VerifyRepositoryResponse> listener) |
Modifier and Type | Method and Description |
---|---|
ClusterState |
ClusterRerouteResponse.getState()
Returns the cluster state resulted from the cluster reroute request execution
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterRerouteAction.checkBlock(ClusterRerouteRequest request,
ClusterState state) |
protected void |
TransportClusterRerouteAction.masterOperation(ClusterRerouteRequest request,
ClusterState state,
ActionListener<ClusterRerouteResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterUpdateSettingsAction.checkBlock(ClusterUpdateSettingsRequest request,
ClusterState state) |
protected void |
TransportClusterUpdateSettingsAction.masterOperation(ClusterUpdateSettingsRequest request,
ClusterState state,
ActionListener<ClusterUpdateSettingsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterSearchShardsAction.checkBlock(ClusterSearchShardsRequest request,
ClusterState state) |
protected void |
TransportClusterSearchShardsAction.masterOperation(ClusterSearchShardsRequest request,
ClusterState state,
ActionListener<ClusterSearchShardsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportCreateSnapshotAction.checkBlock(CreateSnapshotRequest request,
ClusterState state) |
protected void |
TransportCreateSnapshotAction.masterOperation(CreateSnapshotRequest request,
ClusterState state,
ActionListener<CreateSnapshotResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportDeleteSnapshotAction.checkBlock(DeleteSnapshotRequest request,
ClusterState state) |
protected void |
TransportDeleteSnapshotAction.masterOperation(DeleteSnapshotRequest request,
ClusterState state,
ActionListener<DeleteSnapshotResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetSnapshotsAction.checkBlock(GetSnapshotsRequest request,
ClusterState state) |
protected void |
TransportGetSnapshotsAction.masterOperation(GetSnapshotsRequest request,
ClusterState state,
ActionListener<GetSnapshotsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportRestoreSnapshotAction.checkBlock(RestoreSnapshotRequest request,
ClusterState state) |
protected void |
TransportRestoreSnapshotAction.masterOperation(RestoreSnapshotRequest request,
ClusterState state,
ActionListener<RestoreSnapshotResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportSnapshotsStatusAction.checkBlock(SnapshotsStatusRequest request,
ClusterState state) |
protected void |
TransportSnapshotsStatusAction.masterOperation(SnapshotsStatusRequest request,
ClusterState state,
ActionListener<SnapshotsStatusResponse> listener) |
Modifier and Type | Method and Description |
---|---|
ClusterState |
ClusterStateResponse.getState() |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClusterStateAction.checkBlock(ClusterStateRequest request,
ClusterState state) |
protected void |
TransportClusterStateAction.masterOperation(ClusterStateRequest request,
ClusterState state,
ActionListener<ClusterStateResponse> listener) |
Constructor and Description |
---|
ClusterStateResponse(ClusterName clusterName,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPendingClusterTasksAction.checkBlock(PendingClusterTasksRequest request,
ClusterState state) |
protected void |
TransportPendingClusterTasksAction.masterOperation(PendingClusterTasksRequest request,
ClusterState state,
ActionListener<PendingClusterTasksResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportIndicesAliasesAction.checkBlock(IndicesAliasesRequest request,
ClusterState state) |
protected void |
TransportIndicesAliasesAction.masterOperation(IndicesAliasesRequest request,
ClusterState state,
ActionListener<IndicesAliasesResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportAliasesExistAction.checkBlock(GetAliasesRequest request,
ClusterState state) |
protected void |
TransportAliasesExistAction.masterOperation(GetAliasesRequest request,
ClusterState state,
ActionListener<AliasesExistResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetAliasesAction.checkBlock(GetAliasesRequest request,
ClusterState state) |
protected void |
TransportGetAliasesAction.masterOperation(GetAliasesRequest request,
ClusterState state,
ActionListener<GetAliasesResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportAnalyzeAction.checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ShardsIterator |
TransportAnalyzeAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportClearIndicesCacheAction.checkGlobalBlock(ClusterState state,
ClearIndicesCacheRequest request) |
protected ClusterBlockException |
TransportClearIndicesCacheAction.checkRequestBlock(ClusterState state,
ClearIndicesCacheRequest request,
String[] concreteIndices) |
protected ClearIndicesCacheResponse |
TransportClearIndicesCacheAction.newResponse(ClearIndicesCacheRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<TransportBroadcastByNodeAction.EmptyResult> responses,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportClearIndicesCacheAction.shards(ClusterState clusterState,
ClearIndicesCacheRequest request,
String[] concreteIndices)
The refresh request works against *all* shards.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportCloseIndexAction.checkBlock(CloseIndexRequest request,
ClusterState state) |
protected void |
TransportCloseIndexAction.masterOperation(CloseIndexRequest request,
ClusterState state,
ActionListener<CloseIndexResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportCreateIndexAction.checkBlock(CreateIndexRequest request,
ClusterState state) |
protected void |
TransportCreateIndexAction.masterOperation(CreateIndexRequest request,
ClusterState state,
ActionListener<CreateIndexResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportDeleteIndexAction.checkBlock(DeleteIndexRequest request,
ClusterState state) |
protected void |
TransportDeleteIndexAction.masterOperation(DeleteIndexRequest request,
ClusterState state,
ActionListener<DeleteIndexResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportIndicesExistsAction.checkBlock(IndicesExistsRequest request,
ClusterState state) |
protected void |
TransportIndicesExistsAction.masterOperation(IndicesExistsRequest request,
ClusterState state,
ActionListener<IndicesExistsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportTypesExistsAction.checkBlock(TypesExistsRequest request,
ClusterState state) |
protected void |
TransportTypesExistsAction.masterOperation(TypesExistsRequest request,
ClusterState state,
ActionListener<TypesExistsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportForceMergeAction.checkGlobalBlock(ClusterState state,
ForceMergeRequest request) |
protected ClusterBlockException |
TransportForceMergeAction.checkRequestBlock(ClusterState state,
ForceMergeRequest request,
String[] concreteIndices) |
protected ForceMergeResponse |
TransportForceMergeAction.newResponse(ForceMergeRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<TransportBroadcastByNodeAction.EmptyResult> responses,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportForceMergeAction.shards(ClusterState clusterState,
ForceMergeRequest request,
String[] concreteIndices)
The refresh request works against *all* shards.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetIndexAction.checkBlock(GetIndexRequest request,
ClusterState state) |
protected void |
TransportGetIndexAction.doMasterOperation(GetIndexRequest request,
String[] concreteIndices,
ClusterState state,
ActionListener<GetIndexResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetMappingsAction.checkBlock(GetMappingsRequest request,
ClusterState state) |
protected ClusterBlockException |
TransportGetFieldMappingsIndexAction.checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected void |
TransportGetMappingsAction.doMasterOperation(GetMappingsRequest request,
String[] concreteIndices,
ClusterState state,
ActionListener<GetMappingsResponse> listener) |
protected ShardsIterator |
TransportGetFieldMappingsIndexAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPutMappingAction.checkBlock(PutMappingRequest request,
ClusterState state) |
protected void |
TransportPutMappingAction.masterOperation(PutMappingRequest request,
ClusterState state,
ActionListener<PutMappingResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportOpenIndexAction.checkBlock(OpenIndexRequest request,
ClusterState state) |
protected void |
TransportOpenIndexAction.masterOperation(OpenIndexRequest request,
ClusterState state,
ActionListener<OpenIndexResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportRecoveryAction.checkGlobalBlock(ClusterState state,
RecoveryRequest request) |
protected ClusterBlockException |
TransportRecoveryAction.checkRequestBlock(ClusterState state,
RecoveryRequest request,
String[] concreteIndices) |
protected RecoveryResponse |
TransportRecoveryAction.newResponse(RecoveryRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<RecoveryState> responses,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportRecoveryAction.shards(ClusterState state,
RecoveryRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportIndicesSegmentsAction.checkGlobalBlock(ClusterState state,
IndicesSegmentsRequest request) |
protected ClusterBlockException |
TransportIndicesSegmentsAction.checkRequestBlock(ClusterState state,
IndicesSegmentsRequest countRequest,
String[] concreteIndices) |
protected IndicesSegmentResponse |
TransportIndicesSegmentsAction.newResponse(IndicesSegmentsRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<ShardSegments> results,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportIndicesSegmentsAction.shards(ClusterState clusterState,
IndicesSegmentsRequest request,
String[] concreteIndices)
Segments goes across *all* active shards.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetSettingsAction.checkBlock(GetSettingsRequest request,
ClusterState state) |
protected void |
TransportGetSettingsAction.masterOperation(GetSettingsRequest request,
ClusterState state,
ActionListener<GetSettingsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportUpdateSettingsAction.checkBlock(UpdateSettingsRequest request,
ClusterState state) |
protected void |
TransportUpdateSettingsAction.masterOperation(UpdateSettingsRequest request,
ClusterState state,
ActionListener<UpdateSettingsResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportIndicesShardStoresAction.checkBlock(IndicesShardStoresRequest request,
ClusterState state) |
protected void |
TransportIndicesShardStoresAction.masterOperation(IndicesShardStoresRequest request,
ClusterState state,
ActionListener<IndicesShardStoresResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportIndicesStatsAction.checkGlobalBlock(ClusterState state,
IndicesStatsRequest request) |
protected ClusterBlockException |
TransportIndicesStatsAction.checkRequestBlock(ClusterState state,
IndicesStatsRequest request,
String[] concreteIndices) |
protected IndicesStatsResponse |
TransportIndicesStatsAction.newResponse(IndicesStatsRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<ShardStats> responses,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportIndicesStatsAction.shards(ClusterState clusterState,
IndicesStatsRequest request,
String[] concreteIndices)
Status goes across *all* shards.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportDeleteIndexTemplateAction.checkBlock(DeleteIndexTemplateRequest request,
ClusterState state) |
protected void |
TransportDeleteIndexTemplateAction.masterOperation(DeleteIndexTemplateRequest request,
ClusterState state,
ActionListener<DeleteIndexTemplateResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetIndexTemplatesAction.checkBlock(GetIndexTemplatesRequest request,
ClusterState state) |
protected void |
TransportGetIndexTemplatesAction.masterOperation(GetIndexTemplatesRequest request,
ClusterState state,
ActionListener<GetIndexTemplatesResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPutIndexTemplateAction.checkBlock(PutIndexTemplateRequest request,
ClusterState state) |
protected void |
TransportPutIndexTemplateAction.masterOperation(PutIndexTemplateRequest request,
ClusterState state,
ActionListener<PutIndexTemplateResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportUpgradeStatusAction.checkGlobalBlock(ClusterState state,
UpgradeStatusRequest request) |
protected ClusterBlockException |
TransportUpgradeStatusAction.checkRequestBlock(ClusterState state,
UpgradeStatusRequest countRequest,
String[] concreteIndices) |
protected UpgradeStatusResponse |
TransportUpgradeStatusAction.newResponse(UpgradeStatusRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<ShardUpgradeStatus> responses,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportUpgradeStatusAction.shards(ClusterState clusterState,
UpgradeStatusRequest request,
String[] concreteIndices)
Getting upgrade stats from *all* active shards.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportUpgradeSettingsAction.checkBlock(UpgradeSettingsRequest request,
ClusterState state) |
protected ClusterBlockException |
TransportUpgradeAction.checkGlobalBlock(ClusterState state,
UpgradeRequest request) |
protected ClusterBlockException |
TransportUpgradeAction.checkRequestBlock(ClusterState state,
UpgradeRequest request,
String[] concreteIndices) |
protected void |
TransportUpgradeSettingsAction.masterOperation(UpgradeSettingsRequest request,
ClusterState state,
ActionListener<UpgradeSettingsResponse> listener) |
protected UpgradeResponse |
TransportUpgradeAction.newResponse(UpgradeRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<org.elasticsearch.action.admin.indices.upgrade.post.ShardUpgradeResult> shardUpgradeResults,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected ShardsIterator |
TransportUpgradeAction.shards(ClusterState clusterState,
UpgradeRequest request,
String[] concreteIndices)
The upgrade request works against *all* shards.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportValidateQueryAction.checkGlobalBlock(ClusterState state,
ValidateQueryRequest request) |
protected ClusterBlockException |
TransportValidateQueryAction.checkRequestBlock(ClusterState state,
ValidateQueryRequest countRequest,
String[] concreteIndices) |
protected ValidateQueryResponse |
TransportValidateQueryAction.newResponse(ValidateQueryRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected GroupShardsIterator |
TransportValidateQueryAction.shards(ClusterState clusterState,
ValidateQueryRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportDeleteWarmerAction.checkBlock(DeleteWarmerRequest request,
ClusterState state) |
protected void |
TransportDeleteWarmerAction.masterOperation(DeleteWarmerRequest request,
ClusterState state,
ActionListener<DeleteWarmerResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportGetWarmersAction.checkBlock(GetWarmersRequest request,
ClusterState state) |
protected void |
TransportGetWarmersAction.doMasterOperation(GetWarmersRequest request,
String[] concreteIndices,
ClusterState state,
ActionListener<GetWarmersResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPutWarmerAction.checkBlock(PutWarmerRequest request,
ClusterState state) |
protected void |
TransportPutWarmerAction.masterOperation(PutWarmerRequest request,
ClusterState state,
ActionListener<PutWarmerResponse> listener) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportExistsAction.checkGlobalBlock(ClusterState state,
ExistsRequest request) |
protected ClusterBlockException |
TransportExistsAction.checkRequestBlock(ClusterState state,
ExistsRequest countRequest,
String[] concreteIndices) |
protected ExistsResponse |
TransportExistsAction.newResponse(ExistsRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected GroupShardsIterator |
TransportExistsAction.shards(ClusterState clusterState,
ExistsRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportExplainAction.resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ShardIterator |
TransportExplainAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportFieldStatsTransportAction.checkGlobalBlock(ClusterState state,
FieldStatsRequest request) |
protected ClusterBlockException |
TransportFieldStatsTransportAction.checkRequestBlock(ClusterState state,
FieldStatsRequest request,
String[] concreteIndices) |
protected FieldStatsResponse |
TransportFieldStatsTransportAction.newResponse(FieldStatsRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected GroupShardsIterator |
TransportFieldStatsTransportAction.shards(ClusterState clusterState,
FieldStatsRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportGetAction.resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected void |
TransportShardMultiGetAction.resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ShardIterator |
TransportGetAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ShardIterator |
TransportShardMultiGetAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPercolateAction.checkGlobalBlock(ClusterState state,
PercolateRequest request) |
protected ClusterBlockException |
TransportPercolateAction.checkRequestBlock(ClusterState state,
PercolateRequest request,
String[] concreteIndices) |
protected PercolateResponse |
TransportPercolateAction.newResponse(PercolateRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected GroupShardsIterator |
TransportPercolateAction.shards(ClusterState clusterState,
PercolateRequest request,
String[] concreteIndices) |
protected ShardIterator |
TransportShardMultiPercolateAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportSuggestAction.checkGlobalBlock(ClusterState state,
SuggestRequest request) |
protected ClusterBlockException |
TransportSuggestAction.checkRequestBlock(ClusterState state,
SuggestRequest countRequest,
String[] concreteIndices) |
protected SuggestResponse |
TransportSuggestAction.newResponse(SuggestRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected GroupShardsIterator |
TransportSuggestAction.shards(ClusterState clusterState,
SuggestRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
boolean |
AutoCreateIndex.shouldAutoCreate(String index,
ClusterState state)
Should the index be auto created?
|
Modifier and Type | Method and Description |
---|---|
protected abstract ClusterBlockException |
TransportBroadcastAction.checkGlobalBlock(ClusterState state,
Request request) |
protected abstract ClusterBlockException |
TransportBroadcastAction.checkRequestBlock(ClusterState state,
Request request,
String[] concreteIndices) |
protected abstract Response |
TransportBroadcastAction.newResponse(Request request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected abstract GroupShardsIterator |
TransportBroadcastAction.shards(ClusterState clusterState,
Request request,
String[] concreteIndices)
Determines the shards this operation will be executed on.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ClusterBlockException |
TransportBroadcastByNodeAction.checkGlobalBlock(ClusterState state,
Request request)
Executes a global block check before polling the cluster state.
|
protected abstract ClusterBlockException |
TransportBroadcastByNodeAction.checkRequestBlock(ClusterState state,
Request request,
String[] concreteIndices)
Executes a global request-level check before polling the cluster state.
|
protected abstract Response |
TransportBroadcastByNodeAction.newResponse(Request request,
int totalShards,
int successfulShards,
int failedShards,
List<ShardOperationResult> results,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState)
Creates a new response to the underlying request.
|
protected abstract ShardsIterator |
TransportBroadcastByNodeAction.shards(ClusterState clusterState,
Request request,
String[] concreteIndices)
Determines the shards on which this operation will be executed on.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ClusterBlockException |
TransportMasterNodeAction.checkBlock(Request request,
ClusterState state) |
protected abstract void |
TransportMasterNodeAction.masterOperation(Request request,
ClusterState state,
ActionListener<Response> listener) |
protected void |
TransportMasterNodeAction.masterOperation(Task task,
Request request,
ClusterState state,
ActionListener<Response> listener)
Override this operation if access to the task parameter is needed
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TransportClusterInfoAction.doMasterOperation(Request request,
String[] concreteIndices,
ClusterState state,
ActionListener<Response> listener) |
protected void |
TransportClusterInfoAction.masterOperation(Request request,
ClusterState state,
ActionListener<Response> listener) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
TransportNodesAction.resolveNodes(NodesRequest request,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
protected List<ShardId> |
TransportBroadcastReplicationAction.shards(Request request,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportInstanceSingleOperationAction.checkGlobalBlock(ClusterState state) |
protected ClusterBlockException |
TransportInstanceSingleOperationAction.checkRequestBlock(ClusterState state,
Request request) |
protected abstract void |
TransportInstanceSingleOperationAction.resolveRequest(ClusterState state,
Request request)
Resolves the request.
|
protected abstract ShardIterator |
TransportInstanceSingleOperationAction.shards(ClusterState clusterState,
Request request)
Should return an iterator with a single shard!
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportSingleShardAction.checkGlobalBlock(ClusterState state) |
protected ClusterBlockException |
TransportSingleShardAction.checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected void |
TransportSingleShardAction.resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected abstract ShardsIterator |
TransportSingleShardAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on or
null the execute
the operation locally (the node that received the request) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
TransportTasksAction.resolveNodes(TasksRequest request,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportTermVectorsAction.resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ShardIterator |
TransportShardMultiTermsVectorAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ShardIterator |
TransportTermVectorsAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportDfsOnlyAction.checkGlobalBlock(ClusterState state,
DfsOnlyRequest request) |
protected ClusterBlockException |
TransportDfsOnlyAction.checkRequestBlock(ClusterState state,
DfsOnlyRequest countRequest,
String[] concreteIndices) |
protected DfsOnlyResponse |
TransportDfsOnlyAction.newResponse(DfsOnlyRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState) |
protected GroupShardsIterator |
TransportDfsOnlyAction.shards(ClusterState clusterState,
DfsOnlyRequest request,
String[] concreteIndices) |
Modifier and Type | Method and Description |
---|---|
protected void |
TransportUpdateAction.resolveRequest(ClusterState state,
UpdateRequest request) |
protected ShardIterator |
TransportUpdateAction.shards(ClusterState clusterState,
UpdateRequest request) |
Modifier and Type | Field and Description |
---|---|
static ClusterState |
ClusterState.PROTO |
ClusterState |
ClusterStateTaskExecutor.BatchResult.resultingState |
Modifier and Type | Method and Description |
---|---|
ClusterState |
ClusterState.Builder.build() |
abstract ClusterState |
ClusterStateUpdateTask.execute(ClusterState currentState)
Update the cluster state based on the current state.
|
static ClusterState |
ClusterState.Builder.fromBytes(byte[] data,
DiscoveryNode localNode) |
ClusterState |
ClusterStateObserver.observedState()
last cluster state observer by this observer.
|
ClusterState |
ClusterChangedEvent.previousState()
The previous cluster state for this change event.
|
ClusterState |
ClusterState.readFrom(StreamInput in) |
ClusterState |
ClusterState.readFrom(StreamInput in,
DiscoveryNode localNode) |
static ClusterState |
ClusterState.Builder.readFrom(StreamInput in,
DiscoveryNode localNode) |
ClusterState |
ClusterService.state()
The current state.
|
ClusterState |
ClusterChangedEvent.state()
The new cluster state that caused this change event.
|
ClusterState |
ClusterState.status(ClusterState.ClusterStateStatus newStatus) |
Modifier and Type | Method and Description |
---|---|
Diff<ClusterState> |
ClusterState.readDiffFrom(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusterStateObserver.ChangePredicate.apply(ClusterState previousState,
ClusterState.ClusterStateStatus previousStatus,
ClusterState newState,
ClusterState.ClusterStateStatus newStatus)
a rough check used when starting to monitor for a new change.
|
boolean |
ClusterStateObserver.ValidationPredicate.apply(ClusterState previousState,
ClusterState.ClusterStateStatus previousStatus,
ClusterState newState,
ClusterState.ClusterStateStatus newStatus) |
boolean |
ClusterStateObserver.EventPredicate.apply(ClusterState previousState,
ClusterState.ClusterStateStatus previousStatus,
ClusterState newState,
ClusterState.ClusterStateStatus newStatus) |
ClusterStateTaskExecutor.BatchResult<T> |
ClusterStateTaskExecutor.BatchResult.Builder.build(ClusterState resultingState) |
static ClusterState.Builder |
ClusterState.builder(ClusterState state) |
void |
ClusterStateUpdateTask.clusterStateProcessed(String source,
ClusterState oldState,
ClusterState newState) |
void |
AckedClusterStateUpdateTask.clusterStateProcessed(String source,
ClusterState oldState,
ClusterState newState) |
void |
AbstractClusterStateTaskListener.clusterStateProcessed(String source,
ClusterState oldState,
ClusterState newState) |
void |
AbstractAckedClusterStateTaskListener.clusterStateProcessed(String source,
ClusterState oldState,
ClusterState newState) |
void |
ClusterStateTaskListener.clusterStateProcessed(String source,
ClusterState oldState,
ClusterState newState)
Called when the result of the
ClusterStateTaskExecutor.execute(ClusterState, List) have been processed
properly by all listeners. |
void |
ClusterStateTaskExecutor.clusterStatePublished(ClusterState newClusterState)
Callback invoked after new cluster state is published.
|
Diff |
ClusterState.diff(ClusterState previousState) |
abstract ClusterState |
ClusterStateUpdateTask.execute(ClusterState currentState)
Update the cluster state based on the current state.
|
ClusterStateTaskExecutor.BatchResult<ClusterStateUpdateTask> |
ClusterStateUpdateTask.execute(ClusterState currentState,
List<ClusterStateUpdateTask> tasks) |
abstract ClusterStateTaskExecutor.BatchResult<T> |
ClusterStateTaskExecutor.execute(ClusterState currentState,
List<T> tasks)
Update the cluster state based on the current state and the given tasks.
|
void |
ClusterStateObserver.Listener.onNewClusterState(ClusterState state)
called when a new state is observed
|
void |
ClusterStateObserver.reset(ClusterState toState)
reset this observer to the give cluster state.
|
static byte[] |
ClusterState.Builder.toBytes(ClusterState state) |
protected abstract boolean |
ClusterStateObserver.ValidationPredicate.validate(ClusterState newState) |
Constructor and Description |
---|
ClusterChangedEvent(String source,
ClusterState state,
ClusterState previousState) |
ClusterState.Builder(ClusterState state) |
ClusterState(long version,
String stateUUID,
ClusterState state) |
Modifier and Type | Method and Description |
---|---|
void |
NodeIndexDeletedAction.nodeIndexDeleted(ClusterState clusterState,
String index,
Settings indexSettings,
String nodeId) |
void |
NodeMappingRefreshAction.nodeMappingRefresh(ClusterState state,
NodeMappingRefreshAction.NodeMappingRefreshRequest request) |
Constructor and Description |
---|
ClusterStateHealth(ClusterState clusterState)
Creates a new
ClusterStateHealth instance considering the current cluster state and all indices in the cluster. |
ClusterStateHealth(ClusterState clusterState,
String[] concreteIndices)
Creates a new
ClusterStateHealth instance considering the current cluster state and the provided index names. |
Modifier and Type | Method and Description |
---|---|
String[] |
IndexNameExpressionResolver.concreteIndices(ClusterState state,
IndicesOptions options,
long startTime,
String... indexExpressions)
Translates the provided index expression into actual concrete indices, properly deduplicated.
|
String[] |
IndexNameExpressionResolver.concreteIndices(ClusterState state,
IndicesOptions options,
String... indexExpressions)
Translates the provided index expression into actual concrete indices, properly deduplicated.
|
String[] |
IndexNameExpressionResolver.concreteIndices(ClusterState state,
IndicesRequest request)
Same as
IndexNameExpressionResolver.concreteIndices(ClusterState, IndicesOptions, String...) , but the index expressions and options
are encapsulated in the specified request. |
String |
IndexNameExpressionResolver.concreteSingleIndex(ClusterState state,
IndicesRequest request)
Utility method that allows to resolve an index expression to its corresponding single concrete index.
|
String[] |
IndexNameExpressionResolver.filteringAliases(ClusterState state,
String index,
String... expressions)
Iterates through the list of indices and selects the effective list of filtering aliases for the
given index.
|
boolean |
IndexNameExpressionResolver.hasIndexOrAlias(String aliasOrIndex,
ClusterState state) |
Map<String,Set<String>> |
IndexNameExpressionResolver.resolveSearchRouting(ClusterState state,
String routing,
String... expressions)
Resolves the search routing if in the expression aliases are used.
|
void |
MetaDataCreateIndexService.validateIndexName(String index,
ClusterState state) |
Modifier and Type | Method and Description |
---|---|
static long |
UnassignedInfo.findNextDelayedAllocationIn(ClusterState state)
Finds the next (closest) delay expiration of an unassigned shard in nanoseconds.
|
static long |
UnassignedInfo.findSmallestDelayedAllocationSettingNanos(Settings settings,
ClusterState state)
Finds the smallest delay expiration setting in nanos of all unassigned shards that are still delayed.
|
static int |
UnassignedInfo.getNumberOfDelayedUnassigned(ClusterState state)
Returns the number of shards that are unassigned and currently being delayed.
|
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
int shardId,
String preference) |
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
protected IndexRoutingTable |
OperationRouting.indexRoutingTable(ClusterState clusterState,
String index) |
ShardIterator |
OperationRouting.indexShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
GroupShardsIterator |
OperationRouting.searchShards(ClusterState clusterState,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
int |
OperationRouting.searchShardsCount(ClusterState clusterState,
String[] concreteIndices,
Map<String,Set<String>> routing) |
ShardId |
OperationRouting.shardId(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
protected IndexShardRoutingTable |
OperationRouting.shards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
Constructor and Description |
---|
RoutingNodes(ClusterState clusterState) |
RoutingNodes(ClusterState clusterState,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
RoutingAllocation.Result |
AllocationService.applyFailedShard(ClusterState clusterState,
ShardRouting failedShard) |
RoutingAllocation.Result |
AllocationService.applyFailedShards(ClusterState clusterState,
List<FailedRerouteAllocation.FailedShard> failedShards)
Applies the failed shards.
|
RoutingAllocation.Result |
AllocationService.applyStartedShards(ClusterState clusterState,
List<? extends ShardRouting> startedShards)
Applies the started shards.
|
RoutingAllocation.Result |
AllocationService.applyStartedShards(ClusterState clusterState,
List<? extends ShardRouting> startedShards,
boolean withReroute) |
RoutingAllocation.Result |
AllocationService.reroute(ClusterState clusterState,
AllocationCommands commands) |
RoutingAllocation.Result |
AllocationService.reroute(ClusterState clusterState,
AllocationCommands commands,
boolean explain) |
RoutingAllocation.Result |
AllocationService.reroute(ClusterState clusterState,
String reason)
Reroutes the routing table based on the live nodes.
|
protected RoutingAllocation.Result |
AllocationService.reroute(ClusterState clusterState,
String reason,
boolean debug)
Reroutes the routing table based on the live nodes.
|
Modifier and Type | Method and Description |
---|---|
ClusterState |
InternalClusterService.state() |
Modifier and Type | Method and Description |
---|---|
String |
Validator.validate(String setting,
String value,
ClusterState clusterState) |
String |
DynamicSettings.validateDynamicSetting(String dynamicSetting,
String value,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
protected ClusterState |
ZenDiscovery.rejoin(ClusterState clusterState,
String reason) |
Modifier and Type | Method and Description |
---|---|
void |
NodeJoinController.ElectionCallback.onElectedAsMaster(ClusterState state)
called when the local node is successfully elected as master
Guaranteed to be called on the cluster state update thread
|
protected ClusterState |
ZenDiscovery.rejoin(ClusterState clusterState,
String reason) |
Modifier and Type | Method and Description |
---|---|
void |
NodesFaultDetection.updateNodesAndPing(ClusterState clusterState)
make sure that nodes in clusterState are pinged.
|
Modifier and Type | Method and Description |
---|---|
void |
MembershipAction.sendValidateJoinRequestBlocking(DiscoveryNode node,
ClusterState state,
TimeValue timeout)
Validates the join request, throwing a failure if it failed.
|
Constructor and Description |
---|
MembershipAction.ValidateJoinRequest(ClusterState state) |
Modifier and Type | Method and Description |
---|---|
void |
PublishClusterStateAction.NewClusterStateListener.onNewClusterState(ClusterState clusterState,
PublishClusterStateAction.NewClusterStateListener.NewStateProcessed newStateProcessed) |
static BytesReference |
PublishClusterStateAction.serializeFullClusterState(ClusterState clusterState,
Version nodeVersion) |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
GatewayMetaState.getRelevantIndices(ClusterState state,
ClusterState previousState,
com.google.common.collect.ImmutableSet<String> previouslyWrittenIndices) |
static Set<String> |
GatewayMetaState.getRelevantIndicesForMasterEligibleNode(ClusterState state) |
static Set<String> |
GatewayMetaState.getRelevantIndicesOnDataOnlyNode(ClusterState state,
ClusterState previousState,
com.google.common.collect.ImmutableSet<String> previouslyWrittenIndices) |
protected static boolean |
GatewayMetaState.isDataOnlyNode(ClusterState state) |
void |
Gateway.GatewayStateRecoveredListener.onSuccess(ClusterState build) |
protected String[] |
TransportNodesListGatewayStartedShards.resolveNodes(TransportNodesListGatewayStartedShards.Request request,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
IndicesService.deleteShardStore(String reason,
ShardId shardId,
ClusterState clusterState)
This method deletes the shard contents on disk for the given shard ID.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SyncedFlushService.getInflightOpsCount(ShardId shardId,
ClusterState state,
IndexShardRoutingTable shardRoutingTable,
ActionListener<org.elasticsearch.indices.flush.SyncedFlushService.InFlightOpsResponse> listener)
returns the number of in flight operations on primary.
|
Modifier and Type | Method and Description |
---|---|
protected String[] |
TransportNodesListShardStoreMetaData.resolveNodes(TransportNodesListShardStoreMetaData.Request request,
ClusterState clusterState) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SnapshotsService.isRepositoryInUse(ClusterState clusterState,
String repository)
Checks if a repository is currently in use by one of the snapshots
|
static boolean |
RestoreService.isRepositoryInUse(ClusterState clusterState,
String repository)
Checks if a repository is currently in use by one of the snapshots
|
Copyright © 2009–2016. All rights reserved.