Commit e1b35b0b authored by shenjiaqing's avatar shenjiaqing

提交代码

parent 9b985c0b
...@@ -38,7 +38,7 @@ allprojects { ...@@ -38,7 +38,7 @@ allprojects {
} }
group = "cn.com.duiba.boot" group = "cn.com.duiba.boot"
version = "0.0.34" version = "0.0.36"
} }
subprojects { subprojects {
......
...@@ -23,6 +23,19 @@ public final class CatUtils { ...@@ -23,6 +23,19 @@ public final class CatUtils {
} }
} }
/**
* 对callback内部执行的代码加上cat监控
*
* @param callback 要监控耗时的代码段
* @param type
* @param name
* @param <T>
* @return
*/
public static <T> T executeInCatTransaction(cn.com.duibaboot.ext.autoconfigure.core.utils.CatUtils.Callback<T> callback, String type, String name) throws Throwable{
return cn.com.duibaboot.ext.autoconfigure.core.utils.CatUtils.executeInCatTransaction(callback, type, name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment