public class TransportAnalyzeAction extends TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
TransportSingleCustomOperationAction.InternalRequest, TransportSingleCustomOperationAction.ShardSingleOperationRequest
clusterService, transportService
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportAnalyzeAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
IndicesAnalysisService indicesAnalysisService,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
TransportSingleCustomOperationAction.InternalRequest request) |
protected String |
executor() |
protected AnalyzeRequest |
newRequest() |
protected AnalyzeResponse |
newResponse() |
protected boolean |
resolveIndex(AnalyzeRequest request) |
protected AnalyzeResponse |
shardOperation(AnalyzeRequest request,
ShardId shardId)
Operation to be executed at the shard level.
|
protected ShardsIterator |
shards(ClusterState state,
TransportSingleCustomOperationAction.InternalRequest request)
Can return null to execute on this local node.
|
checkGlobalBlock, doExecute
execute, execute, forceThreadedListener
nodeName
@Inject public TransportAnalyzeAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, IndicesAnalysisService indicesAnalysisService, ActionFilters actionFilters)
protected String executor()
executor
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
protected AnalyzeRequest newRequest()
newRequest
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
protected AnalyzeResponse newResponse()
newResponse
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
protected boolean resolveIndex(AnalyzeRequest request)
resolveIndex
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleCustomOperationAction.InternalRequest request)
checkRequestBlock
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
protected ShardsIterator shards(ClusterState state, TransportSingleCustomOperationAction.InternalRequest request)
TransportSingleCustomOperationAction
shards
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
protected AnalyzeResponse shardOperation(AnalyzeRequest request, ShardId shardId) throws ElasticsearchException
TransportSingleCustomOperationAction
shardOperation
in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
ElasticsearchException
Copyright © 2009–2015. All rights reserved.