org.elasticsearch.action.admin.cluster.ping.single
Class TransportSinglePingAction

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.TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>
              extended by org.elasticsearch.action.admin.cluster.ping.single.TransportSinglePingAction
All Implemented Interfaces:
Action<SinglePingRequest,SinglePingResponse>

public class TransportSinglePingAction
extends TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.TransportSingleOperationAction
TransportSingleOperationAction.ShardSingleOperationRequest
 
Field Summary
 
Fields inherited from class org.elasticsearch.action.support.single.TransportSingleOperationAction
clusterService, indicesService, threadPool, transportService
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportSinglePingAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService)
           
 
Method Summary
protected  SinglePingRequest newRequest()
           
protected  SinglePingResponse newResponse()
           
protected  SinglePingResponse shardOperation(SinglePingRequest request, int shardId)
           
protected  java.lang.String transportAction()
           
protected  java.lang.String transportShardAction()
           
 
Methods inherited from class org.elasticsearch.action.support.single.TransportSingleOperationAction
checkBlock, doExecute
 
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

TransportSinglePingAction

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

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>

transportShardAction

protected java.lang.String transportShardAction()
Specified by:
transportShardAction in class TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>

shardOperation

protected SinglePingResponse shardOperation(SinglePingRequest request,
                                            int shardId)
                                     throws ElasticSearchException
Specified by:
shardOperation in class TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>
Throws:
ElasticSearchException

newRequest

protected SinglePingRequest newRequest()
Specified by:
newRequest in class TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>

newResponse

protected SinglePingResponse newResponse()
Specified by:
newResponse in class TransportSingleOperationAction<SinglePingRequest,SinglePingResponse>