org.elasticsearch.action.get
Class TransportShardMultiGetAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.TransportAction<Request,Response>
          extended by org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>
              extended by org.elasticsearch.action.get.TransportShardMultiGetAction

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.TransportAction
threadPool
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportShardMultiGetAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool)
           
 
Method Summary
protected  ClusterBlockException checkGlobalBlock(ClusterState state, MultiGetShardRequest request)
           
protected  ClusterBlockException checkRequestBlock(ClusterState state, MultiGetShardRequest request)
           
protected  String executor()
           
protected  MultiGetShardRequest newRequest()
           
protected  MultiGetShardResponse newResponse()
           
protected  void resolveRequest(ClusterState state, MultiGetShardRequest request)
           
protected  MultiGetShardResponse shardOperation(MultiGetShardRequest request, int shardId)
           
protected  ShardIterator shards(ClusterState state, MultiGetShardRequest request)
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
doExecute
 
Methods inherited from class org.elasticsearch.action.support.TransportAction
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,
                                           ThreadPool threadPool)
Method Detail

executor

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

transportAction

protected String transportAction()
Specified by:
transportAction 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>

checkGlobalBlock

protected ClusterBlockException checkGlobalBlock(ClusterState state,
                                                 MultiGetShardRequest request)
Specified by:
checkGlobalBlock in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

checkRequestBlock

protected ClusterBlockException checkRequestBlock(ClusterState state,
                                                  MultiGetShardRequest request)
Specified by:
checkRequestBlock in class TransportShardSingleOperationAction<MultiGetShardRequest,MultiGetShardResponse>

shards

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

resolveRequest

protected void resolveRequest(ClusterState state,
                              MultiGetShardRequest request)
Overrides:
resolveRequest 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


Copyright © 2009-2012. All Rights Reserved.