org.elasticsearch.action.delete
Class TransportDeleteAction
java.lang.Object
org.elasticsearch.util.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
org.elasticsearch.action.delete.TransportDeleteAction
- All Implemented Interfaces:
- Action<DeleteRequest,DeleteResponse>
public class TransportDeleteAction
- extends TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
Performs the delete operation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportDeleteAction
@Inject
public TransportDeleteAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
IndicesService indicesService,
ThreadPool threadPool,
ShardStateAction shardStateAction,
TransportCreateIndexAction createIndexAction)
doExecute
protected void doExecute(DeleteRequest deleteRequest,
ActionListener<DeleteResponse> listener)
- Overrides:
doExecute
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
newRequestInstance
protected DeleteRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
newResponseInstance
protected DeleteResponse newResponseInstance()
- Specified by:
newResponseInstance
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
shardOperationOnPrimary
protected DeleteResponse shardOperationOnPrimary(TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnPrimary
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
shardOperationOnBackup
protected void shardOperationOnBackup(TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnBackup
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
shards
protected ShardsIterator shards(ClusterState clusterState,
DeleteRequest request)
- Specified by:
shards
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>