摘要: 想计算flink udf发起请求的qps,写了个简单的gin package main import ( "bufio" "fmt" "github.com/gin-gonic/gin" "net/http" "os" "strconv" "time" ) var QpsCount = 0 var 阅读全文
posted @ 2021-08-19 12:15 huim 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 正则匹配 // 正则匹配 String line = "example.com/dynamic/infocheck"; String pattern = "/dynamic/infocheck"; Pattern r = Pattern.compile(pattern); // 方法一 Matche 阅读全文
posted @ 2021-08-19 11:11 huim 阅读(11) 评论(0) 推荐(0) 编辑