public final class Smf4201Record extends Smf42Record
Mapping for SMF type 42 subtype 1 record. Typically you would obtain Smf4201Records by reading SmfRecords and using

Smf4201Record.from(SmfRecord)

to create the specialized record after determining the record type and subtype.

Sections
Most section types are returned in a List containing 0 or more of the section type, depending on the values in the header triplet. If the record is documented as always having exactly 1 of a section e.g. Product Section, the single section is returned.
  • Constructor Details

    • Smf4201Record

      public Smf4201Record(byte[] data)
      Constructs an SMF4201Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • Smf4201Record

      public Smf4201Record(SmfRecord record)
      Constructs a new Smf4201Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
  • Method Details

    • from

      public static Smf4201Record from(SmfRecord record)
      Constructs a new Smf4201Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
    • from

      public static Smf4201Record from(byte[] data)
      Constructs an Smf4201Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • bmfTotals

      public List<BmfTotals> bmfTotals()
      Get a List containing BMF Totals sections from the record
      Returns:
      a list of BmfTotals (possibly empty)
    • storageClassSummarys

      public List<StorageClassSummary> storageClassSummarys()
      Get a List containing Storage Class Summary sections from the record
      Returns:
      a list of StorageClassSummary (possibly empty)