org.elasticsearch.action.delete.index
Class TransportIndexDeleteAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.replication.TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>
org.elasticsearch.action.delete.index.TransportIndexDeleteAction
- All Implemented Interfaces:
- Action<IndexDeleteRequest,IndexDeleteResponse>
public class TransportIndexDeleteAction
- extends TransportIndexReplicationOperationAction<IndexDeleteRequest,IndexDeleteResponse,ShardDeleteRequest,ShardDeleteResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportIndexDeleteAction
@Inject
public TransportIndexDeleteAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
ThreadPool threadPool,
TransportShardDeleteAction deleteAction)
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>