org.elasticsearch.action.delete
Class TransportDeleteAction
java.lang.Object
org.elasticsearch.common.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,
TransportIndexDeleteAction indexDeleteAction)
executor
protected java.lang.String executor()
- Specified by:
executor
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
doExecute
protected void doExecute(DeleteRequest request,
ActionListener<DeleteResponse> listener)
- Overrides:
doExecute
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
checkWriteConsistency
protected boolean checkWriteConsistency()
- Specified by:
checkWriteConsistency
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>
checkBlock
protected void checkBlock(DeleteRequest request,
ClusterState state)
- Overrides:
checkBlock
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
shardOperationOnPrimary
protected TransportShardReplicationOperationAction.PrimaryResponse<DeleteResponse> shardOperationOnPrimary(ClusterState clusterState,
TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnPrimary
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
shardOperationOnReplica
protected void shardOperationOnReplica(TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnReplica
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>
shards
protected ShardIterator shards(ClusterState clusterState,
DeleteRequest request)
- Specified by:
shards
in class TransportShardReplicationOperationAction<DeleteRequest,DeleteResponse>