You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that all methods on the RestHighLevelClient are marked as final, it is not possible to be able to effectively decorate the RestHighLevelClient class. The use case I have for decorating this class is to provide some high level metrics around the usage of the client from our application code.
One possibility would be to introduce some interface that the RestHighLevelClient implements would allow the class to be wrapped and ensure that all methods are accounted for if there is a addition or removal of a method.
This issue comes from a conversation from #27238 (comment) that changed all of the modifiers to be final.