Skip to content

Commit

Permalink
Mark StepListener as @opensearch.api
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Jan 21, 2025
1 parent 827aa63 commit b03af69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/main/java/org/opensearch/action/StepListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
package org.opensearch.action;

import org.opensearch.common.CheckedConsumer;
import org.opensearch.common.annotation.PublicApi;
import org.opensearch.common.util.concurrent.FutureUtils;
import org.opensearch.common.util.concurrent.ListenableFuture;
import org.opensearch.common.util.concurrent.OpenSearchExecutors;
Expand Down Expand Up @@ -64,9 +65,10 @@
* }
* }</pre>
*
* @opensearch.internal
* @opensearch.api
*/

@PublicApi(since = "2.19.0")
public final class StepListener<Response> extends NotifyOnceListener<Response> {
private final ListenableFuture<Response> delegate;

Expand Down

0 comments on commit b03af69

Please sign in to comment.