public interface WorkspaceHeartbeat
限定符和类型 | 方法和说明 |
---|---|
void |
beat(WorkspaceConnection connection)
跳一跳
|
void |
close(WorkspaceConnection connection)
主动停止
|
int |
getInterval()
获取心跳的时间间隔
|
void |
start()
开始心跳检查
|
void |
stop()
停止心跳检查
|
void start()
void stop()
int getInterval()
void beat(WorkspaceConnection connection)
void close(WorkspaceConnection connection)