public class SaRMIServerInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SaRMIServerInfo.ServerState
Server state.
|
Constructor and Description |
---|
SaRMIServerInfo(String serverName,
int serverPort,
boolean withSSL)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SaRMIServerInfo |
getActualServer()
Reads the actual server from the list of fail over servers.
|
SaRMISystemConnector |
getConnector() |
List<SaRMIServerInfo> |
getFailOvers() |
long |
getLastOverload() |
int |
getLoad() |
String |
getName() |
int |
getPort() |
SaRMIServerInfo.ServerState |
getState() |
SaRMISystemConnector |
getSystemApplication() |
SaSystemInfo |
getSystemInfo() |
int |
hashCode() |
boolean |
isFailOverServer() |
boolean |
isWithSsl() |
SaSystemInfo |
readSystemInfo(int threshold)
Reads system info.
|
void |
restart()
Restart this server.
|
void |
setOverload()
Set to overloaded.
|
void |
setRunning()
Set running.
|
void |
setStopped()
Set to stopped.
|
String |
toString() |
public SaRMIServerInfo(String serverName, int serverPort, boolean withSSL)
serverName
- Server nameserverPort
- Server portwithSSL
- With SSLpublic SaRMISystemConnector getSystemApplication()
public void restart()
public String getName()
public int getPort()
public SaRMIServerInfo.ServerState getState()
public boolean isFailOverServer()
public boolean isWithSsl()
public void setRunning()
public void setOverload()
public void setStopped()
public long getLastOverload()
public SaRMIServerInfo getActualServer()
public List<SaRMIServerInfo> getFailOvers()
public SaRMISystemConnector getConnector()
public SaSystemInfo readSystemInfo(int threshold)
threshold
- thresholdpublic SaSystemInfo getSystemInfo()
public int getLoad()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.