Class ServerListItem

java.lang.Object
com.uc4.api.systemoverview.ServerListItem

public class ServerListItem extends Object
This class describes a single row in the server list of the system overview.
  • Constructor Details

    • ServerListItem

      public ServerListItem(Element row, ConnectionAttributes session)
      Constructs a ServerListEntry from an Element.
      Parameters:
      row - Element
      session - Session info
  • Method Details

    • getId

      public String getId()
      Returns the ID of this server process.
      Returns:
      ID
    • getNetArea

      public String getNetArea()
      Returns:
      Net area
    • isMqSetActive

      public boolean isMqSetActive()
      Returns true if mqSetActive = mqSetOwn.
      Returns:
      true if active false otherwise
    • isLinked

      public boolean isLinked()
      Returns true if this process is linked to the service manager.
      Returns:
      true if linked false otherwise
    • getRole

      public String getRole()
      Returns the role of the work process.
      Returns:
      Role, for example R, O or RO
    • getRoles

      public String[] getRoles()
      Returns all roles that the work process has assigned.
      Returns:
      Roles of this work process
    • getTimeDifference

      public String 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

      public String getHostName()
      Returns the name of the computer on which the server process is running.
      Returns:
      server host
    • getIpAddress

      public String getIpAddress()
      Returns the TCP/IP address of the server process.
      Returns:
      TCP address
    • getName

      public String 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

      public String getProcessId()
      Returns the process identification number of the server process.
      Returns:
      Process ID
    • getServerTime

      public DateTime getServerTime()
      Returns the Date and time of the computer on which the server process is running or null 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

      public String getVersion()
      Returns the server process version including the patch level.
      Returns:
      Version
    • getZduVersion

      public String getZduVersion()
      Returns:
      ZDU version
    • isActive

      public boolean isActive()
      Returns true if the process is active.
      Returns:
      process state
    • getMqSetOwn

      public String 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

      public String 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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object