This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 7eb3176b02d Add high frequency invocation annotation for tableless 
route engine (#35415)
7eb3176b02d is described below

commit 7eb3176b02d5a786a590c5dcfb3c82454ab9c2eb
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Thu May 15 10:03:39 2025 +0800

    Add high frequency invocation annotation for tableless route engine (#35415)
    
    - Add @HighFrequencyInvocation annotation to 
TablelessDataSourceUnicastRouteEngine class
    - This change helps identify the class as frequently used, potentially for 
performance monitoring or optimization
---
 .../tableless/type/unicast/TablelessDataSourceUnicastRouteEngine.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/infra/route/src/main/java/org/apache/shardingsphere/infra/route/engine/tableless/type/unicast/TablelessDataSourceUnicastRouteEngine.java
 
b/infra/route/src/main/java/org/apache/shardingsphere/infra/route/engine/tableless/type/unicast/TablelessDataSourceUnicastRouteEngine.java
index 09cf89cdd9d..c9d7b6ec1be 100644
--- 
a/infra/route/src/main/java/org/apache/shardingsphere/infra/route/engine/tableless/type/unicast/TablelessDataSourceUnicastRouteEngine.java
+++ 
b/infra/route/src/main/java/org/apache/shardingsphere/infra/route/engine/tableless/type/unicast/TablelessDataSourceUnicastRouteEngine.java
@@ -18,6 +18,7 @@
 package org.apache.shardingsphere.infra.route.engine.tableless.type.unicast;
 
 import lombok.RequiredArgsConstructor;
+import org.apache.shardingsphere.infra.annotation.HighFrequencyInvocation;
 import org.apache.shardingsphere.infra.metadata.database.rule.RuleMetaData;
 import org.apache.shardingsphere.infra.route.context.RouteContext;
 import org.apache.shardingsphere.infra.route.context.RouteMapper;
@@ -33,6 +34,7 @@ import java.util.concurrent.ThreadLocalRandom;
  * Tableless datasource unicast route engine.
  */
 @RequiredArgsConstructor
+@HighFrequencyInvocation
 public final class TablelessDataSourceUnicastRouteEngine implements 
TablelessRouteEngine {
     
     @Override

Reply via email to