public class TransportAnalyzeAction extends TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
TransportSingleShardAction.InternalRequest
clusterService, transportService
actionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportAnalyzeAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
IndicesAnalysisService indicesAnalysisService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected AnalyzeResponse |
newResponse() |
protected boolean |
resolveIndex(AnalyzeRequest request) |
protected AnalyzeResponse |
shardOperation(AnalyzeRequest request,
ShardId shardId) |
protected ShardsIterator |
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) |
checkGlobalBlock, doExecute, isSubAction, resolveRequest
doExecute, execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportAnalyzeAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, IndicesAnalysisService indicesAnalysisService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected AnalyzeResponse newResponse()
newResponse
in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
protected boolean resolveIndex(AnalyzeRequest request)
resolveIndex
in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)
checkRequestBlock
in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
protected ShardsIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
TransportSingleShardAction
null
the execute
the operation locally (the node that received the request)shards
in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
protected AnalyzeResponse shardOperation(AnalyzeRequest request, ShardId shardId)
shardOperation
in class TransportSingleShardAction<AnalyzeRequest,AnalyzeResponse>
Copyright © 2009–2016. All rights reserved.