public class ClusterDeviceSessionManager extends AbstractDeviceSessionManager
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
ClusterDeviceSessionManager.Service |
static class |
ClusterDeviceSessionManager.ServiceImpl |
AbstractDeviceSessionManager.DeviceSessionRefcloseSink, disposable, localSessions| 构造器和说明 |
|---|
ClusterDeviceSessionManager(RpcManager rpcManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected reactor.core.publisher.Mono<Boolean> |
checkRemoteSessionIsAlive(String deviceId) |
String |
getCurrentServerId() |
protected reactor.core.publisher.Mono<Long> |
getRemoteTotalSessions() |
void |
init() |
protected reactor.core.publisher.Mono<Boolean> |
initSessionConnection(DeviceSession session) |
protected reactor.core.publisher.Mono<Boolean> |
remoteSessionIsAlive(String deviceId) |
protected reactor.core.publisher.Flux<DeviceSessionInfo> |
remoteSessions(String serverId) |
protected reactor.core.publisher.Mono<Long> |
removeRemoteSession(String deviceId) |
checkAlive, checkLocalAlive, checkSession, closeSession, closeSessionSafe, compute, compute, doInit, executeInterval, fireEvent, getLocalSessionInfo, getSession, getSession, getSessionInfo, getSessionInfo, getSessions, handleSessionCompute, isAlive, listenEvent, remove, removeFromCluster, removeLocalSession, shutdown, syncConnectionInfo, totalSessionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAlivepublic ClusterDeviceSessionManager(RpcManager rpcManager)
public void init()
init 在类中 AbstractDeviceSessionManagerpublic final String getCurrentServerId()
getCurrentServerId 在接口中 DeviceSessionManagergetCurrentServerId 在类中 AbstractDeviceSessionManagerprotected final reactor.core.publisher.Mono<Boolean> initSessionConnection(DeviceSession session)
protected final reactor.core.publisher.Mono<Long> removeRemoteSession(String deviceId)
protected final reactor.core.publisher.Mono<Long> getRemoteTotalSessions()
protected final reactor.core.publisher.Mono<Boolean> remoteSessionIsAlive(String deviceId)
protected reactor.core.publisher.Mono<Boolean> checkRemoteSessionIsAlive(String deviceId)
protected reactor.core.publisher.Flux<DeviceSessionInfo> remoteSessions(String serverId)
Copyright © 2019–2023. All rights reserved.