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

public class TransportSinglePingAction
extends TransportShardSingleOperationAction<SinglePingRequest,SinglePingResponse>


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
TransportSinglePingAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService)
           
 
Method Summary
protected  java.lang.String executor()
           
protected  SinglePingRequest newRequest()
           
protected  SinglePingResponse newResponse()
           
protected  SinglePingResponse shardOperation(SinglePingRequest request, int shardId)
           
protected  ShardIterator shards(ClusterState clusterState, SinglePingRequest request)
           
protected  java.lang.String transportAction()
           
protected  java.lang.String transportShardAction()
           
 
Methods inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
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)
Method Detail

executor

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

transportAction

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

transportShardAction

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

shards

protected ShardIterator shards(ClusterState clusterState,
                               SinglePingRequest request)
                        throws ElasticSearchException
Specified by:
shards in class TransportShardSingleOperationAction<SinglePingRequest,SinglePingResponse>
Throws:
ElasticSearchException

shardOperation

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

newRequest

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

newResponse

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