public class TransportShardMultiGetAction extends TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
TransportShardSingleOperationAction.InternalRequest
clusterService, transportService
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportShardMultiGetAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected String |
executor() |
protected boolean |
isSubAction()
Tells whether the action is a main one or a subaction.
|
protected MultiGetShardRequest |
newRequest() |
protected MultiGetShardResponse |
newResponse() |
protected boolean |
resolveIndex() |
protected void |
resolveRequest(ClusterState state,
TransportShardSingleOperationAction.InternalRequest request) |
protected MultiGetShardResponse |
shardOperation(MultiGetShardRequest request,
ShardId shardId) |
protected ShardIterator |
shards(ClusterState state,
TransportShardSingleOperationAction.InternalRequest request) |
checkGlobalBlock, checkRequestBlock, doExecute
execute, execute, forceThreadedListener
nodeName
@Inject public TransportShardMultiGetAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters)
protected boolean isSubAction()
TransportShardSingleOperationAction
isSubAction
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected String executor()
executor
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected MultiGetShardRequest newRequest()
newRequest
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected MultiGetShardResponse newResponse()
newResponse
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected boolean resolveIndex()
resolveIndex
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected ShardIterator shards(ClusterState state, TransportShardSingleOperationAction.InternalRequest request)
shards
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected void resolveRequest(ClusterState state, TransportShardSingleOperationAction.InternalRequest request)
resolveRequest
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
protected MultiGetShardResponse shardOperation(MultiGetShardRequest request, ShardId shardId) throws ElasticsearchException
shardOperation
in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
ElasticsearchException
Copyright © 2009–2015. All rights reserved.