org.elasticsearch.action.get
Class TransportShardMultiGetAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
              extended by org.elasticsearch.action.get.TransportShardMultiGetAction
All Implemented Interfaces:
Action<MultiGetShardRequest,MultiGetShardResponse>

public class TransportShardMultiGetAction
extends TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
TransportShardSingleOperationAction.ShardSingleOperationRequest
 
Field Summary
 
Fields inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
clusterService, transportService
 
Fields inherited from class org.elasticsearch.action.support.BaseAction
threadPool
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportShardMultiGetAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ScriptService scriptService, ThreadPool threadPool)
           
 
Method Summary
protected  void checkBlock(MultiGetShardRequest request, ClusterState state)
           
protected  void doExecute(MultiGetShardRequest request, ActionListener<MultiGetShardResponse> listener)
           
protected  java.lang.String executor()
           
protected  MultiGetShardRequest newRequest()
           
protected  MultiGetShardResponse newResponse()
           
protected  MultiGetShardResponse shardOperation(MultiGetShardRequest request, int shardId)
           
protected  ShardIterator shards(ClusterState clusterState, MultiGetShardRequest request)
           
protected  java.lang.String transportAction()
           
protected  java.lang.String transportShardAction()
           
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
execute, execute
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportShardMultiGetAction

@Inject
public TransportShardMultiGetAction(Settings settings,
                                           ClusterService clusterService,
                                           TransportService transportService,
                                           IndicesService indicesService,
                                           ScriptService scriptService,
                                           ThreadPool threadPool)
Method Detail

executor

protected java.lang.String executor()
Specified by:
executor in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

transportShardAction

protected java.lang.String transportShardAction()
Specified by:
transportShardAction in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

newRequest

protected MultiGetShardRequest newRequest()
Specified by:
newRequest in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

newResponse

protected MultiGetShardResponse newResponse()
Specified by:
newResponse in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

checkBlock

protected void checkBlock(MultiGetShardRequest request,
                          ClusterState state)
Overrides:
checkBlock in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

shards

protected ShardIterator shards(ClusterState clusterState,
                               MultiGetShardRequest request)
Specified by:
shards in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

doExecute

protected void doExecute(MultiGetShardRequest request,
                         ActionListener<MultiGetShardResponse> listener)
Overrides:
doExecute in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

shardOperation

protected MultiGetShardResponse shardOperation(MultiGetShardRequest request,
                                               int shardId)
                                        throws ElasticSearchException
Specified by:
shardOperation in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
Throws:
ElasticSearchException