Skip to content

Commit

Permalink
Remove deprecated HandledTransportAction ctors (#100239)
Browse files Browse the repository at this point in the history
These things are no longer used. Relates #100162
  • Loading branch information
DaveCTurner authored Oct 4, 2023
1 parent 1e98245 commit 35613ae
Showing 1 changed file with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.elasticsearch.action.ActionRequest;
import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.common.io.stream.Writeable;
import org.elasticsearch.common.util.concurrent.EsExecutors;
import org.elasticsearch.transport.TransportService;

import java.util.concurrent.Executor;
Expand All @@ -22,19 +21,6 @@ public abstract class HandledTransportAction<Request extends ActionRequest, Resp
Request,
Response> {

/**
* @deprecated always specify an executor
*/
@Deprecated(forRemoval = true)
protected HandledTransportAction(
String actionName,
TransportService transportService,
ActionFilters actionFilters,
Writeable.Reader<Request> requestReader
) {
this(actionName, true, transportService, actionFilters, requestReader);
}

protected HandledTransportAction(
String actionName,
TransportService transportService,
Expand All @@ -45,20 +31,6 @@ protected HandledTransportAction(
this(actionName, true, transportService, actionFilters, requestReader, executor);
}

/**
* @deprecated always specify an executor
*/
@Deprecated(forRemoval = true)
protected HandledTransportAction(
String actionName,
boolean canTripCircuitBreaker,
TransportService transportService,
ActionFilters actionFilters,
Writeable.Reader<Request> requestReader
) {
this(actionName, canTripCircuitBreaker, transportService, actionFilters, requestReader, EsExecutors.DIRECT_EXECUTOR_SERVICE);
}

protected HandledTransportAction(
String actionName,
boolean canTripCircuitBreaker,
Expand Down

0 comments on commit 35613ae

Please sign in to comment.