org.elasticsearch.action.admin.cluster.ping.replication
Class TransportIndexReplicationPingAction

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.replication.TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>
              extended by org.elasticsearch.action.admin.cluster.ping.replication.TransportIndexReplicationPingAction
All Implemented Interfaces:
Action<IndexReplicationPingRequest,IndexReplicationPingResponse>

public class TransportIndexReplicationPingAction
extends TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.replication.TransportIndexReplicationOperationAction
clusterService, shardAction
 
Fields inherited from class org.elasticsearch.action.support.BaseAction
threadPool
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportIndexReplicationPingAction(Settings settings, ClusterService clusterService, TransportService transportService, ThreadPool threadPool, TransportShardReplicationPingAction shardReplicationPingAction)
           
 
Method Summary
protected  boolean accumulateExceptions()
           
protected  IndexReplicationPingRequest newRequestInstance()
           
protected  IndexReplicationPingResponse newResponseInstance(IndexReplicationPingRequest request, java.util.concurrent.atomic.AtomicReferenceArray shardsResponses)
           
protected  ShardReplicationPingRequest newShardRequestInstance(IndexReplicationPingRequest indexRequest, int shardId)
           
protected  GroupShardsIterator shards(IndexReplicationPingRequest indexRequest)
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.replication.TransportIndexReplicationOperationAction
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

TransportIndexReplicationPingAction

@Inject
public TransportIndexReplicationPingAction(Settings settings,
                                                  ClusterService clusterService,
                                                  TransportService transportService,
                                                  ThreadPool threadPool,
                                                  TransportShardReplicationPingAction shardReplicationPingAction)
Method Detail

newRequestInstance

protected IndexReplicationPingRequest newRequestInstance()
Specified by:
newRequestInstance in class TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>

newResponseInstance

protected IndexReplicationPingResponse newResponseInstance(IndexReplicationPingRequest request,
                                                           java.util.concurrent.atomic.AtomicReferenceArray shardsResponses)
Specified by:
newResponseInstance in class TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>

accumulateExceptions

protected boolean accumulateExceptions()
Specified by:
accumulateExceptions in class TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>

shards

protected GroupShardsIterator shards(IndexReplicationPingRequest indexRequest)
Specified by:
shards in class TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>

newShardRequestInstance

protected ShardReplicationPingRequest newShardRequestInstance(IndexReplicationPingRequest indexRequest,
                                                              int shardId)
Specified by:
newShardRequestInstance in class TransportIndexReplicationOperationAction<IndexReplicationPingRequest,IndexReplicationPingResponse,ShardReplicationPingRequest,ShardReplicationPingResponse>