类 OccupyTimeoutProperty
java.lang.Object
com.alibaba.csp.sentinel.node.OccupyTimeoutProperty
- 从以下版本开始:
- 1.5.0
- 作者:
- jialiang.linjl, Carpenter Lee
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static intstatic voidregister2Property(SentinelProperty<Integer> property) static voidupdateTimeout(int newInterval) Update the timeout value. Note that the time out should never greeter thanIntervalProperty.INTERVAL, or it will be ignored.
-
构造器详细资料
-
OccupyTimeoutProperty
public OccupyTimeoutProperty()
-
-
方法详细资料
-
register2Property
-
getOccupyTimeout
public static int getOccupyTimeout() -
updateTimeout
public static void updateTimeout(int newInterval) Update the timeout value. Note that the time out should never greeter thanIntervalProperty.INTERVAL, or it will be ignored.- 参数:
newInterval- new value.
-