dengzhhu653 commented on PR #4257:
URL: https://github.com/apache/hive/pull/4257#issuecomment-1586558850

   Thanks for the contribution, @wecharyu!
   For me, the `AbstractHMSHandlerProxy` provides an abstract method for his 
children to have chances to perform some special work on calling `proxy`, I 
would prefer a hook for this case, for example, we can introduce a hook like:
   ```
   interface RetryingHMSHandlerHook {
     default void preCall(proxy, method, args) throws MetaException {
     }
     default void postCall(proxy, method, args, result) {
     }
    // more interfaces if needed....
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to