Class PathUsageStatisticsBlock

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf74.subtype2.PathUsageStatisticsBlock

public final class PathUsageStatisticsBlock extends SmfData
  • Method Details

    • r742pusgTimeSum

      public Duration r742pusgTimeSum()
      R742PUSG_TimeSum as a Duration.
      Returns:
      Duration R742PUSG_TimeSum
      See Also:
    • r742pusgTimeSumSeconds

      public double r742pusgTimeSumSeconds()
      R742PUSG_TimeSum in seconds.
      Returns:
      double R742PUSG_TimeSum converted to seconds
    • r742pusgTimeSumRawValue

      public BigInteger r742pusgTimeSumRawValue()
      R742PUSG_TimeSum raw value.
      Returns:
      BigInteger R742PUSG_TimeSum raw value
    • r742pusgTimeSsq

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

      public BigInteger r742pusgTimeSsqAsBigInteger()
      R742PUSG_TimeSsq value as a BigInteger.

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

      Returns:
      BigInteger R742PUSG_TimeSsq
    • r742pusgTimeNum

      public long r742pusgTimeNum()
      R742PUSG_Time# value.
      Returns:
      long R742PUSG_Time# value
    • r742pusgSigCnt

      public long r742pusgSigCnt()
      R742PUSG_SigCnt value.
      Returns:
      long R742PUSG_SigCnt value
    • r742pusgPercent

      public long r742pusgPercent()
      R742PUSG_Percent value.
      Returns:
      long R742PUSG_Percent value
    • create

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