public class ClusterClientImpl extends Object implements ClusterClient
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
APPLICATION_CONFIGFILE_NAME |
static String |
APPLICATION_GETALLSYSTEMURL |
static String |
APPLICATION_GETAPPCONFIG |
static String |
APPLICATION_GETSERVERS |
static String |
APPLICATION_GETSYSTEMSTATUS |
static String |
APPLICATION_SERVERCONFIG_NAME |
static String |
GetSubSystemInfoURL |
| 构造器和说明 |
|---|
ClusterClientImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
Person |
getAdminPerson(String systemCode) |
List<ServerNode> |
getAllServer() |
Map<String,ServerNode> |
getAllServerMap() |
List<SubSystem> |
getAllSystem() |
CApplication |
getApplication(ConfigCode systemCode) |
String |
getApplicationConfig(String sysCode)
获取指定应用的配置文件字符串
|
Map<ConfigCode,CApplication> |
getApplicationMap() |
List<CApplication> |
getApplications() |
SubSystem |
getRemoteSystem(String systemId) |
List<SubSystem> |
getRemoteSystems() |
String |
getServerConfig(String sysCode)
获取指定应用的配置文件字符串
|
ServerNode |
getServerNodeById(String nodeId) |
ServerNodeList |
getServerNodeListByConfigCode(ConfigCode code) |
SubSystem |
getSystem(String systemCode) |
SystemStatus |
getSystemStatus(String systemCode) |
UDPClient |
getUDPClient() |
CApplication |
initSubSystem(SubSystem system) |
boolean |
isLogin() |
void |
login() |
void |
login(Boolean init) |
void |
reboot() |
void |
reLoadConfig() |
boolean |
send(String msgStr) |
void |
start() |
void |
stop() |
void |
updateTaskStatus(String id,
String readed) |
public void start()
start 在接口中 ClusterClientpublic UDPClient getUDPClient()
getUDPClient 在接口中 ClusterClientpublic String getApplicationConfig(String sysCode) throws JDSException
sysCode - 应用代码JDSExceptionpublic void login(Boolean init)
login 在接口中 ClusterClientpublic void login()
login 在接口中 ClusterClientpublic void reboot()
reboot 在接口中 ClusterClientpublic void reLoadConfig()
reLoadConfig 在接口中 ClusterClientpublic List<ServerNode> getAllServer()
getAllServer 在接口中 ClusterClientpublic ServerNode getServerNodeById(String nodeId)
getServerNodeById 在接口中 ClusterClientpublic ServerNodeList getServerNodeListByConfigCode(ConfigCode code)
getServerNodeListByConfigCode 在接口中 ClusterClientpublic CApplication initSubSystem(SubSystem system) throws JDSException
JDSExceptionpublic Map<String,ServerNode> getAllServerMap()
getAllServerMap 在接口中 ClusterClientpublic CApplication getApplication(ConfigCode systemCode)
getApplication 在接口中 ClusterClientpublic Map<ConfigCode,CApplication> getApplicationMap()
getApplicationMap 在接口中 ClusterClientpublic List<CApplication> getApplications()
getApplications 在接口中 ClusterClientpublic SubSystem getSystem(String systemCode)
getSystem 在接口中 ClusterClientpublic List<SubSystem> getAllSystem()
getAllSystem 在接口中 ClusterClientpublic SystemStatus getSystemStatus(String systemCode)
getSystemStatus 在接口中 ClusterClientpublic Person getAdminPerson(String systemCode)
getAdminPerson 在接口中 ClusterClientpublic String getServerConfig(String sysCode) throws JDSException
sysCode - 应用代码JDSExceptionpublic void updateTaskStatus(String id, String readed)
updateTaskStatus 在接口中 ClusterClientpublic boolean isLogin()
isLogin 在接口中 ClusterClientpublic boolean send(String msgStr)
send 在接口中 ClusterClientpublic void stop()
stop 在接口中 ClusterClientCopyright © 2023 onecode. All rights reserved.