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 aServerListEntry
from anElement
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getB01()
Returns the percentage of server process utilization over the last minute.int
getB10()
Percentage of server process utilization over the last 10 minutes.int
getB60()
Percentage of server process utilization over the last 60 minutes.int
Returns 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.int
getPort()
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 ornull
if the server process is not active.Returns the time difference between the computer on which the server process is running and the Automation Engine.char
getType()
Returns the process type.Returns the server process version including the patch level.int
hashCode()
boolean
isActive()
Returnstrue
if the process is active.boolean
Returns if a process is started with a dedicated role.boolean
isLinked()
Returnstrue
if this process is linked to the service manager.boolean
Returnstrue
if mqSetActive = mqSetOwn.toString()
-
Constructor Details
-
ServerListItem
Constructs aServerListEntry
from 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()Returnstrue
if mqSetActive = mqSetOwn.- Returns:
- true if active false otherwise
-
isLinked
public boolean isLinked()Returnstrue
if 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 ornull
if 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()Returnstrue
if 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
-