sravani-revuri commented on code in PR #9908:
URL: https://github.com/apache/ozone/pull/9908#discussion_r2955002986


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/tracing/TraceAllMethod.java:
##########
@@ -86,4 +98,17 @@ private Method findDelegatedMethod(Method method) {
     }
     return null;
   }
+
+  private boolean shouldSkipTracing(Method method, Method delegateMethod) {
+    // Skip methods annotated with @SkipTracing
+    if (method.isAnnotationPresent(SkipTracing.class)) {

Review Comment:
   Modified the code with the optimized Boolean check for skiptracing , the 
check now applies to only implemented method.



-- 
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