Package | Description |
---|---|
cn.orionsec.kit.lang.support.timeout | |
cn.orionsec.kit.net.host.ssh.command |
Modifier and Type | Interface and Description |
---|---|
interface |
TimeoutChecker<T extends TimeoutEndpoint>
超时检测器
|
class |
TimeoutCheckerImpl<T extends TimeoutEndpoint>
超时检测器
|
Modifier and Type | Method and Description |
---|---|
static <T extends TimeoutEndpoint> |
TimeoutCheckers.create()
创建超时检测器
|
static <T extends TimeoutEndpoint> |
TimeoutCheckers.create(long delay)
创建超时检测器
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICommandExecutor
远程命令执行器 api
|
Modifier and Type | Class and Description |
---|---|
class |
CommandExecutor
命令执行器
|
Modifier and Type | Method and Description |
---|---|
void |
ICommandExecutor.timeout(long timeout,
TimeoutChecker<TimeoutEndpoint> checker)
设置超时时间
|
void |
CommandExecutor.timeout(long timeout,
TimeoutChecker<TimeoutEndpoint> checker) |
default void |
ICommandExecutor.timeout(long timeout,
TimeUnit unit,
TimeoutChecker<TimeoutEndpoint> checker)
设置超时时间
|
Copyright © 2024. All rights reserved.