public class TransportFieldCapabilitiesIndexAction extends TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
TransportSingleShardAction.InternalRequest
clusterService, transportService
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportFieldCapabilitiesIndexAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected FieldCapabilitiesIndexResponse |
newResponse() |
protected boolean |
resolveIndex(FieldCapabilitiesIndexRequest request) |
protected FieldCapabilitiesIndexResponse |
shardOperation(FieldCapabilitiesIndexRequest 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 TransportFieldCapabilitiesIndexAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected boolean resolveIndex(FieldCapabilitiesIndexRequest request)
resolveIndex
in class TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
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<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
protected FieldCapabilitiesIndexResponse shardOperation(FieldCapabilitiesIndexRequest request, ShardId shardId)
shardOperation
in class TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
protected FieldCapabilitiesIndexResponse newResponse()
newResponse
in class TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)