Skip to content

Commit 1d0e3cf

Browse files
authored
Remove unused and deprecated api (#107292)
Leftover cleanup work. Related to #105676 and #105746
1 parent b11bb27 commit 1d0e3cf

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

server/src/main/java/org/elasticsearch/persistent/PersistentTasksService.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,6 @@ public PersistentTasksService(ClusterService clusterService, ThreadPool threadPo
4949
this.threadPool = threadPool;
5050
}
5151

52-
/**
53-
* Notifies the master node to create new persistent task and to assign it to a node.
54-
*/
55-
@Deprecated(forRemoval = true)
56-
public <Params extends PersistentTaskParams> void sendStartRequest(
57-
final String taskId,
58-
final String taskName,
59-
final Params taskParams,
60-
final ActionListener<PersistentTask<Params>> listener
61-
) {
62-
sendStartRequest(taskId, taskName, taskParams, null, listener);
63-
}
64-
6552
/**
6653
* Notifies the master node to create new persistent task and to assign it to a node. Accepts operation timeout as optional parameter
6754
*/
@@ -156,11 +143,6 @@ void sendUpdateStateRequest(
156143
execute(request, UpdatePersistentTaskStatusAction.INSTANCE, listener);
157144
}
158145

159-
@Deprecated(forRemoval = true)
160-
public void sendRemoveRequest(final String taskId, final ActionListener<PersistentTask<?>> listener) {
161-
sendRemoveRequest(taskId, null, listener);
162-
}
163-
164146
/**
165147
* Notifies the master node to remove a persistent task from the cluster state. Accepts operation timeout as optional parameter
166148
*/

0 commit comments

Comments
 (0)