@Target(TYPE)@Inherited@Retention(RUNTIME)public @interface Threshold
"20 ms"
static String
NAME
"threshold"
String
value
static final String NAME
String value
String表示正Long值,后跟空格和以下单位之一: "ns" (纳秒) "us" (微秒) "ms" (毫秒) "s" (秒) "m" (分钟) "h" (小时) "d" (天)
Long
"ns"
"us"
"ms"
"s"
"m"
"h"
"d"
示例值是"0 ns" , "10 ms" ,和"1 s" 。
"0 ns"
"10 ms"
"1 s"
null