public class OccupyTimeoutProperty extends Object
| Constructor and Description |
|---|
OccupyTimeoutProperty() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getOccupyTimeout() |
static void |
register2Property(SentinelProperty<Integer> property) |
static void |
updateTimeout(int newInterval)
Update the timeout value.
Note that the time out should never greeter than
IntervalProperty.INTERVAL,
or it will be ignored. |
public static void register2Property(SentinelProperty<Integer> property)
public static int getOccupyTimeout()
public static void updateTimeout(int newInterval)
IntervalProperty.INTERVAL,
or it will be ignored.newInterval - new value.Copyright © 2019 Alibaba Group. All rights reserved.