Skip to content

Commit

Permalink
Make new listener API public
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhant Deshmukh <[email protected]>
  • Loading branch information
deshsidd committed Jul 18, 2024
1 parent c16727e commit 722ce7f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
import org.opensearch.action.search.SearchRequestOperationsListener;

/**
* SearchTaskResourceOperationsListener subscriber for operations on search tasks resource usages
* SearchTaskResourceOperationsListener subscriber for operations on search tasks resource usages.
* Listener ensures to refreshResourceStats on request end capturing the search task resource usage
* upon request completion.
*
* @opensearch.internal
* @PublicApi
*/
public final class SearchTaskResourceOperationsListener extends SearchRequestOperationsListener {
private final TaskResourceTrackingService taskResourceTrackingService;
Expand Down

0 comments on commit 722ce7f

Please sign in to comment.