Package com.blackhillsoftware.smf.smf30
Class NnpiCountersSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf30.NnpiCountersSection
-
Method Summary
Modifier and TypeMethodDescriptionstatic NnpiCountersSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.long
SMF30_NNPICtrs_Count value, throws exception if SMF30_NNPICtrs_Count overflows 64 bit signed integer.SMF30_NNPICtrs_Count value as a BigInteger.SMF30_NNPICtrs_Entry_ID value.int
SMF30_NNPICtrs_Entry_ID value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
smf30NnpiCtrsEntryId
SMF30_NNPICtrs_Entry_ID value.- Returns:
- NnpiCounters SMF30_NNPICtrs_Entry_ID value
-
smf30NnpiCtrsEntryIdRawValue
public int smf30NnpiCtrsEntryIdRawValue()SMF30_NNPICtrs_Entry_ID value.- Returns:
- int SMF30_NNPICtrs_Entry_ID raw value
-
smf30NnpiCtrsCount
public long smf30NnpiCtrsCount()SMF30_NNPICtrs_Count value, throws exception if SMF30_NNPICtrs_Count overflows 64 bit signed integer.- Returns:
- long SMF30_NNPICtrs_Count
- Throws:
IllegalArgumentException
- If the value of SMF30_NNPICtrs_Count exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF30_NNPICtrs_Count). Usesmf30NnpiCtrsCountAsBigInteger()
if this is possible.
-
smf30NnpiCtrsCountAsBigInteger
SMF30_NNPICtrs_Count value as a BigInteger.smf30NnpiCtrsCount()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF30_NNPICtrs_Count
-
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
-