Class WorkloadClassificationSamples

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf70.subtype1.WorkloadClassificationSamples

public final class WorkloadClassificationSamples extends SmfData
  • Field Details

    • SMF70WC_MAX_CLASS_IDX

      public static final int SMF70WC_MAX_CLASS_IDX
      Constant: 0x07 = 7
      See Also:
  • Method Details

    • smf70wcSamples

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

      public BigInteger smf70wcSamplesAsBigInteger()
      SMF70WC_Samples value as a BigInteger.

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

      Returns:
      BigInteger SMF70WC_Samples
    • create

      public static WorkloadClassificationSamples create(com.blackhillsoftware.smf.internal.Section 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