public class TransportFieldCapabilitiesIndexAction extends TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
TransportSingleShardAction.InternalRequest
deprecationLogger, logger, settings
actionName, indexNameExpressionResolver, taskManager, threadPool
clusterService, transportService
Constructor | Description |
---|---|
TransportFieldCapabilitiesIndexAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method | 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) |
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doExecute, execute, execute, execute, execute
checkGlobalBlock, doExecute, isSubAction, resolveRequest
@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)