Class UsageDataSection


public final class UsageDataSection extends SmfData
  • Field Details

  • Method Details

    • smf30urdCpuTime

      public Duration smf30urdCpuTime()
      Get SMF30URD in seconds
      Returns:
      double SMF30URD CPU time in seconds
    • smf30urdFloatingPoint

      public double smf30urdFloatingPoint()
      Get SMF30URD floating point value
      Returns:
      double SMF30URD
    • smf30urdBinary

      public long smf30urdBinary()
      Get SMF30URD 64 bit integer value
      Returns:
      long SMF30URD
      Throws:
      IllegalArgumentException - If the value of SMF30URD exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF30URD). Use smf30urdBigInteger() if this is possible.
    • smf30urdBigInteger

      public BigInteger smf30urdBigInteger()
      Get SMF30URD 64 bit integer value as a BigInteger.

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

      Returns:
      SMF30URD as BigInteger
    • smf30upo

      public String smf30upo()
      SMF30UPO value.
      Returns:
      String SMF30UPO value
    • smf30upn

      public String smf30upn()
      SMF30UPN value.
      Returns:
      String SMF30UPN value
    • smf30upv

      public String smf30upv()
      SMF30UPV value.
      Returns:
      String SMF30UPV value
    • smf30upq

      public String smf30upq()
      SMF30UPQ value.
      Returns:
      String SMF30UPQ value
    • smf30upi

      public String smf30upi()
      SMF30UPI value.
      Returns:
      String SMF30UPI value
    • smf30uct

      public Duration smf30uct()
      SMF30UCT as a Duration.
      Returns:
      Duration SMF30UCT
      See Also:
    • smf30uctSeconds

      public double smf30uctSeconds()
      SMF30UCT in seconds.
      Returns:
      double SMF30UCT converted to seconds
    • smf30uctRawValue

      public long smf30uctRawValue()
      SMF30UCT raw value.
      Returns:
      long SMF30UCT value
    • smf30ucs

      public Duration smf30ucs()
      SMF30UCS as a Duration.
      Returns:
      Duration SMF30UCS
      See Also:
    • smf30ucsSeconds

      public double smf30ucsSeconds()
      SMF30UCS in seconds.
      Returns:
      double SMF30UCS converted to seconds
    • smf30ucsRawValue

      public long smf30ucsRawValue()
      SMF30UCS raw value.
      Returns:
      long SMF30UCS value
    • smf30urd

      public byte[] smf30urd()
      SMF30URD data.
      Returns:
      byte[] SMF30URD data
    • smf30udf

      public int smf30udf()
      SMF30UDF value.
      Returns:
      int SMF30UDF value
    • smf30ufg

      public int smf30ufg()
      SMF30UFG value.
      Returns:
      int SMF30UFG value
    • smf30uun

      public boolean smf30uun()
      Return true if SMF30UUN bit in smf30ufg() is set.
      Returns:
      boolean SMF30UUN bit is set in smf30ufg()

      SMF30UUN = 0x80

    • create

      public static UsageDataSection 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