类 IntervalProperty
java.lang.Object
com.alibaba.csp.sentinel.node.IntervalProperty
QPS statistics interval.
- 作者:
- youji.zj, jialiang.linjl, Carpenter Lee, Eric Zhao
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidregister2Property(SentinelProperty<Integer> property) static voidupdateInterval(int newInterval)
-
字段详细资料
-
INTERVAL
public static volatile int INTERVALInterval in milliseconds. This variable determines sensitivity of the QPS calculation.
DO NOT MODIFY this value directly, use
updateInterval(int), otherwise the modification will not take effect.
-
-
构造器详细资料
-
IntervalProperty
public IntervalProperty()
-
-
方法详细资料
-
register2Property
-
updateInterval
public static void updateInterval(int newInterval) - 参数:
newInterval- New interval to set.
-