public class IntervalProperty extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERVAL
Interval in milliseconds.
|
| Constructor and Description |
|---|
IntervalProperty() |
| Modifier and Type | Method and Description |
|---|---|
static void |
register2Property(SentinelProperty<Integer> property) |
static void |
updateInterval(int newInterval)
|
public static volatile int INTERVAL
Interval 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.
public static void register2Property(SentinelProperty<Integer> property)
public static void updateInterval(int newInterval)
newInterval - New interval to set.Copyright © 2019 Alibaba Group. All rights reserved.