Package com.uc4.api.systemoverview
Class ServerListItem
java.lang.Object
com.uc4.api.systemoverview.ServerListItem
This class describes a single row in the server list of the system overview.
-
Constructor Summary
ConstructorsConstructorDescriptionServerListItem(Element row, ConnectionAttributes session) Constructs aServerListEntryfrom anElement. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetB01()Returns the percentage of server process utilization over the last minute.intgetB10()Percentage of server process utilization over the last 10 minutes.intgetB60()Percentage of server process utilization over the last 60 minutes.intReturns the number of connections to clients of communication processes.Returns the name of the computer on which the server process is running.getId()Returns the ID of this server process.Returns the TCP/IP address of the server process.Returns the name of the message queue set for new message.Returns the name of the message queue set that is used by this server.getName()Returns the Server process name.intgetPort()Returns the Server process port number.Returns the process identification number of the server process.getRole()Returns the role of the work process.String[]getRoles()Returns all roles that the work process has assigned.Returns the Date and time of the computer on which the server process is running ornullif the server process is not active.Returns the time difference between the computer on which the server process is running and the Automation Engine.chargetType()Returns the process type.Returns the server process version including the patch level.inthashCode()booleanisActive()Returnstrueif the process is active.booleanReturns if a process is started with a dedicated role.booleanisLinked()Returnstrueif this process is linked to the service manager.booleanReturnstrueif mqSetActive = mqSetOwn.toString()
-
Constructor Details
-
ServerListItem
Constructs aServerListEntryfrom anElement.- Parameters:
row- Elementsession- Session info
-
-
Method Details
-
getId
Returns the ID of this server process.- Returns:
- ID
-
getNetArea
- Returns:
- Net area
-
isMqSetActive
public boolean isMqSetActive()Returnstrueif mqSetActive = mqSetOwn.- Returns:
- true if active false otherwise
-
isLinked
public boolean isLinked()Returnstrueif this process is linked to the service manager.- Returns:
- true if linked false otherwise
-
getRole
Returns the role of the work process.- Returns:
- Role, for example R, O or RO
-
getRoles
Returns all roles that the work process has assigned.- Returns:
- Roles of this work process
-
getTimeDifference
Returns the time difference between the computer on which the server process is running and the Automation Engine.- Returns:
- time difference
-
getB01
public int getB01()Returns the percentage of server process utilization over the last minute.- Returns:
- B01
-
getB10
public int getB10()Percentage of server process utilization over the last 10 minutes.- Returns:
- B10
-
getB60
public int getB60()Percentage of server process utilization over the last 60 minutes.- Returns:
- B60
-
getHostName
Returns the name of the computer on which the server process is running.- Returns:
- server host
-
getIpAddress
Returns the TCP/IP address of the server process.- Returns:
- TCP address
-
getName
Returns the Server process name. This name is a combination of the system name, #, process type and the consecutive 3-digit process type number.- Returns:
- Server name
-
getConnections
public int getConnections()Returns the number of connections to clients of communication processes.- Returns:
- Number of clients
-
getPort
public int getPort()Returns the Server process port number.- Returns:
- Port
-
getProcessId
Returns the process identification number of the server process.- Returns:
- Process ID
-
getServerTime
Returns the Date and time of the computer on which the server process is running ornullif the server process is not active.- Returns:
- Server Time
-
getType
public char getType()Returns the process type.- C ... Communication Process
- P ... Primary Work Process
- W ... Work Process
- D ... Dialog Process
- J ... Java Server Process
- A ... REST API
- T ... JCP (TLS)
- Returns:
- process type
-
getVersion
Returns the server process version including the patch level.- Returns:
- Version
-
getZduVersion
- Returns:
- ZDU version
-
isActive
public boolean isActive()Returnstrueif the process is active.- Returns:
- process state
-
getMqSetOwn
Returns the name of the message queue set that is used by this server. The PWP always uses both message queue sets.- Returns:
- MQ-Set of this server process or an empty String if the server is not active. The return value is never null.
-
getMqSetActive
Returns the name of the message queue set for new message. This set is different from the own MQ set in case of a zero downtime update.- Returns:
- Active Set of message queue tables or an empty String if the server is not running
-
isDedicated
public boolean isDedicated()Returns if a process is started with a dedicated role. This can is currently possible for JWPs only. The process can take his dedicated role only.- Returns:
- if a process is started with a dedicated role
-
equals
-
hashCode
public int hashCode() -
toString
-