public class TimeoutCheckers extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_DELAY
默认延迟时间 500 ms
|
Modifier and Type | Method and Description |
---|---|
static <T extends TimeoutEndpoint> |
create()
创建超时检测器
|
static <T extends TimeoutEndpoint> |
create(long delay)
创建超时检测器
|
public static final long DEFAULT_DELAY
public static <T extends TimeoutEndpoint> TimeoutChecker<T> create()
T
- Tpublic static <T extends TimeoutEndpoint> TimeoutChecker<T> create(long delay)
T
- Tdelay
- delayCopyright © 2024. All rights reserved.