Class PathUsageStatisticsBlock
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf74.subtype2.PathUsageStatisticsBlock
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathUsageStatisticsBlock
create
(byte[] Data, int offset, int length) create is intended for internal use only.long
R742PUSG_Percent value.long
R742PUSG_SigCnt value.long
R742PUSG_Time# value.long
R742PUSG_TimeSsq value, throws exception if R742PUSG_TimeSsq overflows 64 bit signed integer.R742PUSG_TimeSsq value as a BigInteger.R742PUSG_TimeSum as a Duration.R742PUSG_TimeSum raw value.double
R742PUSG_TimeSum in seconds.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
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
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). User742pusgTimeSsqAsBigInteger()
if this is possible.
-
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
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 sectionoffset
- Offset of this section in the datalength
- length of the section
-