Class SocketsServiceStatistics


public final class SocketsServiceStatistics extends StatisticsDataSection
  • Field Details

  • Method Details

    • sordsLen

      public int sordsLen()
      SORDS_LEN value.
      Returns:
      int SORDS_LEN value
    • sordsId

      public int sordsId()
      SORDS_ID value.
      Returns:
      int SORDS_ID value
    • sordsVers

      public int sordsVers()
      SORDS_VERS value.
      Returns:
      int SORDS_VERS value
    • sorServiceName

      public String sorServiceName()
      SOR_SERVICE_NAME value.
      Returns:
      String SOR_SERVICE_NAME value
    • sorTransAttached

      public long sorTransAttached()
      SOR_TRANS_ATTACHED value.
      Returns:
      long SOR_TRANS_ATTACHED value
    • sorCurrentConns

      public long sorCurrentConns()
      SOR_CURRENT_CONNS value.
      Returns:
      long SOR_CURRENT_CONNS value
    • sorPeakConns

      public long sorPeakConns()
      SOR_PEAK_CONNS value.
      Returns:
      long SOR_PEAK_CONNS value
    • sorOpenGmt

      public ZonedDateTime sorOpenGmt()
      SOR_OPEN_GMT STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).

      Use sorOpenGmtRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      DateTime SOR_OPEN_GMT STCK converted to ZonedDateTime
      See Also:
    • sorOpenGmtRawValue

      public BigInteger sorOpenGmtRawValue()
      SOR_OPEN_GMT STCK value.
      Returns:
      BigInteger SOR_OPEN_GMT STCK value
    • sorOpenLocal

      public LocalDateTime sorOpenLocal()
      SOR_OPEN_LOCAL STCK value converted to LocalDateTime (nanosecond precision).

      Use sorOpenLocalRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime SOR_OPEN_LOCAL STCK converted to LocalDateTime
      See Also:
    • sorOpenLocalRawValue

      public BigInteger sorOpenLocalRawValue()
      SOR_OPEN_LOCAL STCK value.
      Returns:
      BigInteger SOR_OPEN_LOCAL STCK value
    • sorCloseGmt

      public ZonedDateTime sorCloseGmt()
      SOR_CLOSE_GMT STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).

      Use sorCloseGmtRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      DateTime SOR_CLOSE_GMT STCK converted to ZonedDateTime
      See Also:
    • sorCloseGmtRawValue

      public BigInteger sorCloseGmtRawValue()
      SOR_CLOSE_GMT STCK value.
      Returns:
      BigInteger SOR_CLOSE_GMT STCK value
    • sorCloseLocal

      public LocalDateTime sorCloseLocal()
      SOR_CLOSE_LOCAL STCK value converted to LocalDateTime (nanosecond precision).

      Use sorCloseLocalRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime SOR_CLOSE_LOCAL STCK converted to LocalDateTime
      See Also:
    • sorCloseLocalRawValue

      public BigInteger sorCloseLocalRawValue()
      SOR_CLOSE_LOCAL STCK value.
      Returns:
      BigInteger SOR_CLOSE_LOCAL STCK value
    • sorPortNumber

      public int sorPortNumber()
      SOR_PORT_NUMBER value.
      Returns:
      int SOR_PORT_NUMBER value
    • sorSslSupport

      public SorSslSupport sorSslSupport()
      SOR_SSL_SUPPORT as a SorSslSupport.
      Returns:
      SorSslSupport SOR_SSL_SUPPORT
    • sorSslSupportRawValue

      public int sorSslSupportRawValue()
      SOR_SSL_SUPPORT raw value.
      Returns:
      int SOR_SSL_SUPPORT value
    • sorBacklog

      public long sorBacklog()
      SOR_BACKLOG value.
      Returns:
      long SOR_BACKLOG value
    • sorSends

      public long sorSends()
      SOR_SENDS value.
      Returns:
      long SOR_SENDS value
    • sorBytesSent

      public long sorBytesSent()
      SOR_BYTES_SENT value, throws exception if SOR_BYTES_SENT overflows 64 bit signed integer.
      Returns:
      long SOR_BYTES_SENT
      Throws:
      IllegalArgumentException - If the value of SOR_BYTES_SENT exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SOR_BYTES_SENT). Use sorBytesSentAsBigInteger() if this is possible.
    • sorBytesSentAsBigInteger

      public BigInteger sorBytesSentAsBigInteger()
      SOR_BYTES_SENT value as a BigInteger.

      sorBytesSent() may provide better performance if the value will not exceed the maximum value for a signed long.

      Returns:
      BigInteger SOR_BYTES_SENT
    • sorReceives

      public long sorReceives()
      SOR_RECEIVES value.
      Returns:
      long SOR_RECEIVES value
    • sorBytesReceived

      public long sorBytesReceived()
      SOR_BYTES_RECEIVED value, throws exception if SOR_BYTES_RECEIVED overflows 64 bit signed integer.
      Returns:
      long SOR_BYTES_RECEIVED
      Throws:
      IllegalArgumentException - If the value of SOR_BYTES_RECEIVED exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SOR_BYTES_RECEIVED). Use sorBytesReceivedAsBigInteger() if this is possible.
    • sorBytesReceivedAsBigInteger

      public BigInteger sorBytesReceivedAsBigInteger()
      SOR_BYTES_RECEIVED value as a BigInteger.

      sorBytesReceived() may provide better performance if the value will not exceed the maximum value for a signed long.

      Returns:
      BigInteger SOR_BYTES_RECEIVED
    • sorWlmGroup

      public String sorWlmGroup()
      SOR_WLM_GROUP value.
      Returns:
      String SOR_WLM_GROUP value
    • sorProtocol

      public String sorProtocol()
      SOR_PROTOCOL value.
      Returns:
      String SOR_PROTOCOL value
    • sorAuthenticate

      public SorAuthenticate sorAuthenticate()
      SOR_AUTHENTICATE as a SorAuthenticate.
      Returns:
      SorAuthenticate SOR_AUTHENTICATE
    • sorAuthenticateRawValue

      public int sorAuthenticateRawValue()
      SOR_AUTHENTICATE raw value.
      Returns:
      int SOR_AUTHENTICATE value
    • sorPrivacy

      public SorPrivacy sorPrivacy()
      SOR_PRIVACY as a SorPrivacy.
      Returns:
      SorPrivacy SOR_PRIVACY
    • sorPrivacyRawValue

      public int sorPrivacyRawValue()
      SOR_PRIVACY raw value.
      Returns:
      int SOR_PRIVACY value
    • sorAttachsec

      public SorAttachsec sorAttachsec()
      SOR_ATTACHSEC as a SorAttachsec.
      Returns:
      SorAttachsec SOR_ATTACHSEC
    • sorAttachsecRawValue

      public int sorAttachsecRawValue()
      SOR_ATTACHSEC raw value.
      Returns:
      int SOR_ATTACHSEC value
    • sorMaxdataLength

      public long sorMaxdataLength()
      SOR_MAXDATA_LENGTH value.
      Returns:
      long SOR_MAXDATA_LENGTH value
    • sorTcpipsTranid

      public String sorTcpipsTranid()
      SOR_TCPIPS_TRANID value.
      Returns:
      String SOR_TCPIPS_TRANID value
    • sorTcpipsUrm

      public String sorTcpipsUrm()
      SOR_TCPIPS_URM value.
      Returns:
      String SOR_TCPIPS_URM value
    • sorTcpipsMaxPersist

      public long sorTcpipsMaxPersist()
      SOR_TCPIPS_MAX_PERSIST value.
      Returns:
      long SOR_TCPIPS_MAX_PERSIST value
    • sorTcpipsNonPersist

      public long sorTcpipsNonPersist()
      SOR_TCPIPS_NON_PERSIST value.
      Returns:
      long SOR_TCPIPS_NON_PERSIST value
    • sorIpAddress

      public String sorIpAddress()
      SOR_IP_ADDRESS value.
      Returns:
      String SOR_IP_ADDRESS value
    • sorIpAddressAsInetAddress

      public InetAddress sorIpAddressAsInetAddress() throws UnknownHostException
      SOR_IP_ADDRESS value. Note: May cause extreme slowdowns due to DNS lookups if the value is not recognized as a valid numeric IP address
      Returns:
      InetAddress SOR_IP_ADDRESS IP Address value
      Throws:
      UnknownHostException - if a DNS lookup is attempted and fails
    • sorIpFamily

      public IpFamily sorIpFamily()
      SOR_IP_FAMILY as a IpFamily.
      Returns:
      IpFamily SOR_IP_FAMILY
    • sorIpFamilyRawValue

      public int sorIpFamilyRawValue()
      SOR_IP_FAMILY raw value.
      Returns:
      int SOR_IP_FAMILY value
    • sorHostname

      public String sorHostname()
      SOR_HOSTNAME value.
      Returns:
      String SOR_HOSTNAME value
    • sorDefineSource

      public String sorDefineSource()
      SOR_DEFINE_SOURCE value.
      Returns:
      String SOR_DEFINE_SOURCE value
    • sorChangeTime

      public LocalDateTime sorChangeTime()
      SOR_CHANGE_TIME STCK value converted to LocalDateTime (nanosecond precision).

      Use sorChangeTimeRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime SOR_CHANGE_TIME STCK converted to LocalDateTime
      See Also:
    • sorChangeTimeRawValue

      public BigInteger sorChangeTimeRawValue()
      SOR_CHANGE_TIME STCK value.
      Returns:
      BigInteger SOR_CHANGE_TIME STCK value
    • sorChangeUserid

      public String sorChangeUserid()
      SOR_CHANGE_USERID value.
      Returns:
      String SOR_CHANGE_USERID value
    • sorChangeAgent

      public CIAgent sorChangeAgent()
      SOR_CHANGE_AGENT as a CIAgent.
      Returns:
      CIAgent SOR_CHANGE_AGENT
    • sorChangeAgentRawValue

      public int sorChangeAgentRawValue()
      SOR_CHANGE_AGENT raw value.
      Returns:
      int SOR_CHANGE_AGENT value
    • sorInstallAgent

      public CIAgent sorInstallAgent()
      SOR_INSTALL_AGENT as a CIAgent.
      Returns:
      CIAgent SOR_INSTALL_AGENT
    • sorInstallAgentRawValue

      public int sorInstallAgentRawValue()
      SOR_INSTALL_AGENT raw value.
      Returns:
      int SOR_INSTALL_AGENT value
    • sorInstallTime

      public LocalDateTime sorInstallTime()
      SOR_INSTALL_TIME STCK value converted to LocalDateTime (nanosecond precision).

      Use sorInstallTimeRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime SOR_INSTALL_TIME STCK converted to LocalDateTime
      See Also:
    • sorInstallTimeRawValue

      public BigInteger sorInstallTimeRawValue()
      SOR_INSTALL_TIME STCK value.
      Returns:
      BigInteger SOR_INSTALL_TIME STCK value
    • sorInstallUserid

      public String sorInstallUserid()
      SOR_INSTALL_USERID value.
      Returns:
      String SOR_INSTALL_USERID value
    • sorTotalConns

      public long sorTotalConns()
      SOR_TOTAL_CONNS value.
      Returns:
      long SOR_TOTAL_CONNS value
    • sorNonpAtMaxpersist

      public long sorNonpAtMaxpersist()
      SOR_NONP_AT_MAXPERSIST value.
      Returns:
      long SOR_NONP_AT_MAXPERSIST value
    • sorNonpAtTaskLimit

      public long sorNonpAtTaskLimit()
      SOR_NONP_AT_TASK_LIMIT value.
      Returns:
      long SOR_NONP_AT_TASK_LIMIT value
    • sorDiscAtTaskLimit

      public long sorDiscAtTaskLimit()
      SOR_DISC_AT_TASK_LIMIT value.
      Returns:
      long SOR_DISC_AT_TASK_LIMIT value
    • sorDiscAtMaxUses

      public long sorDiscAtMaxUses()
      SOR_DISC_AT_MAX_USES value.
      Returns:
      long SOR_DISC_AT_MAX_USES value
    • sorCurrBacklog

      public long sorCurrBacklog()
      SOR_CURR_BACKLOG value.
      Returns:
      long SOR_CURR_BACKLOG value
    • sorConnsDropped

      public long sorConnsDropped()
      SOR_CONNS_DROPPED value.
      Returns:
      long SOR_CONNS_DROPPED value
    • sorConnLastDropped

      public LocalDateTime sorConnLastDropped()
      SOR_CONN_LAST_DROPPED STCK value converted to LocalDateTime (nanosecond precision).

      Use sorConnLastDroppedRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime SOR_CONN_LAST_DROPPED STCK converted to LocalDateTime
      See Also:
    • sorConnLastDroppedRawValue

      public BigInteger sorConnLastDroppedRawValue()
      SOR_CONN_LAST_DROPPED STCK value.
      Returns:
      BigInteger SOR_CONN_LAST_DROPPED STCK value
    • sorCurrMaxBacklog

      public long sorCurrMaxBacklog()
      SOR_CURR_MAX_BACKLOG value.
      Returns:
      long SOR_CURR_MAX_BACKLOG value
    • sorRequests

      public long sorRequests()
      SOR_REQUESTS value.
      Returns:
      long SOR_REQUESTS value
    • sorTcpipsOptionsPgm

      public String sorTcpipsOptionsPgm()
      SOR_TCPIPS_OPTIONSPGM value.
      Returns:
      String SOR_TCPIPS_OPTIONSPGM value
    • create

      public static SocketsServiceStatistics create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section