org.elasticsearch.action.delete.index
Class TransportIndexDeleteAction

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<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>
              extended by org.elasticsearch.action.delete.index.TransportIndexDeleteAction
All Implemented Interfaces:
Action<IndexDeleteRequest,IndexDeleteResponse>

public class TransportIndexDeleteAction
extends TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>


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
TransportIndexDeleteAction(Settings settings, ClusterService clusterService, TransportService transportService, ThreadPool threadPool, TransportShardDeleteAction deleteAction)
           
 
Method Summary
protected  boolean accumulateExceptions()
           
protected  void checkBlock(IndexDeleteRequest request, ClusterState state)
           
protected  IndexDeleteRequest newRequestInstance()
           
protected  IndexDeleteResponse newResponseInstance(IndexDeleteRequest request, java.util.concurrent.atomic.AtomicReferenceArray shardsResponses)
           
protected  ShardDeleteRequest newShardRequestInstance(IndexDeleteRequest request, int shardId)
           
protected  GroupShardsIterator shards(IndexDeleteRequest request)
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.replication.TransportIndexReplicationOperationAction
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

TransportIndexDeleteAction

@Inject
public TransportIndexDeleteAction(Settings settings,
                                         ClusterService clusterService,
                                         TransportService transportService,
                                         ThreadPool threadPool,
                                         TransportShardDeleteAction deleteAction)
Method Detail

newRequestInstance

protected IndexDeleteRequest newRequestInstance()
Specified by:
newRequestInstance in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>

newResponseInstance

protected IndexDeleteResponse newResponseInstance(IndexDeleteRequest request,
                                                  java.util.concurrent.atomic.AtomicReferenceArray shardsResponses)
Specified by:
newResponseInstance in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>

accumulateExceptions

protected boolean accumulateExceptions()
Specified by:
accumulateExceptions in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>

checkBlock

protected void checkBlock(IndexDeleteRequest request,
                          ClusterState state)
Overrides:
checkBlock in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>

shards

protected GroupShardsIterator shards(IndexDeleteRequest request)
Specified by:
shards in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>

newShardRequestInstance

protected ShardDeleteRequest newShardRequestInstance(IndexDeleteRequest request,
                                                     int shardId)
Specified by:
newShardRequestInstance in class TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>