Class LogstreamStatisticsSection

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf23.LogstreamStatisticsSection

public final class LogstreamStatisticsSection extends SmfData
  • Field Details

  • Method Details

    • smf23lsl

      public int smf23lsl()
      SMF23LSL value.
      Returns:
      int SMF23LSL value
    • smf23lsn

      public String smf23lsn()
      SMF23LSN value.
      Returns:
      String SMF23LSN value
    • smf23lfa

      public long smf23lfa()
      SMF23LFA value.
      Returns:
      long SMF23LFA value
    • smf23lft

      public long smf23lft()
      SMF23LFT value.
      Returns:
      long SMF23LFT value
    • smf23lfh

      public long smf23lfh()
      SMF23LFH value.
      Returns:
      long SMF23LFH value
    • smf23lfm

      public long smf23lfm()
      SMF23LFM value.
      Returns:
      long SMF23LFM value
    • smf23lfl

      public long smf23lfl()
      SMF23LFL value.
      Returns:
      long SMF23LFL value
    • smf23lfg

      public long smf23lfg()
      SMF23LFG value.
      Returns:
      long SMF23LFG value
    • smf23bwg

      public boolean smf23bwg()
      Return true if SMF23BWG bit in smf23lfg() is set.
      Returns:
      boolean SMF23BWG bit is set in smf23lfg()

      SMF23BWG = 0x80

    • smf23dwg

      public boolean smf23dwg()
      Return true if SMF23DWG bit in smf23lfg() is set.
      Returns:
      boolean SMF23DWG bit is set in smf23lfg()

      SMF23DWG = 0x40

    • smf23crq

      public boolean smf23crq()
      Return true if SMF23CRQ bit in smf23lfg() is set.
      Returns:
      boolean SMF23CRQ bit is set in smf23lfg()

      SMF23CRQ = 0x20

    • smf23cpr

      public boolean smf23cpr()
      Return true if SMF23CPR bit in smf23lfg() is set.
      Returns:
      boolean SMF23CPR bit is set in smf23lfg()

      SMF23CPR = 0x10

    • smf23cmp

      public boolean smf23cmp()
      Return true if SMF23CMP bit in smf23lfg() is set.
      Returns:
      boolean SMF23CMP bit is set in smf23lfg()

      SMF23CMP = 0x08

    • smf23pfg

      public boolean smf23pfg()
      Return true if SMF23PFG bit in smf23lfg() is set.
      Returns:
      boolean SMF23PFG bit is set in smf23lfg()

      SMF23PFG = 0x04

    • smf23pft

      public long smf23pft()
      SMF23PFT value.
      Returns:
      long SMF23PFT value
    • smf23pfm

      public long smf23pfm()
      SMF23PFM value.
      Returns:
      long SMF23PFM value
    • smf23pfh

      public long smf23pfh()
      SMF23PFH value.
      Returns:
      long SMF23PFH value
    • smf23cnt

      public byte[] smf23cnt()
      SMF23CNT data.
      Returns:
      byte[] SMF23CNT data
    • smf23cwn

      public long smf23cwn()
      SMF23CWN value.
      Returns:
      long SMF23CWN value
    • smf23ncn

      public long smf23ncn()
      SMF23NCN value.
      Returns:
      long SMF23NCN value
    • smf23bbc

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

      public BigInteger smf23bbcAsBigInteger()
      SMF23BBC value as a BigInteger.

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

      Returns:
      BigInteger SMF23BBC
    • smf23bac

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

      public BigInteger smf23bacAsBigInteger()
      SMF23BAC value as a BigInteger.

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

      Returns:
      BigInteger SMF23BAC
    • smf23lhp

      public long smf23lhp()
      SMF23LHP value.
      Returns:
      long SMF23LHP value
    • smf23lcp

      public long smf23lcp()
      SMF23LCP value.
      Returns:
      long SMF23LCP value
    • create

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