Class WorkloadClassificationSamples
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf70.subtype1.WorkloadClassificationSamples
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(com.blackhillsoftware.smf.internal.Section Data, int offset, int length) create is intended for internal use only.longSMF70WC_Samples value, throws exception if SMF70WC_Samples overflows 64 bit signed integer.SMF70WC_Samples value as a BigInteger.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF70WC_MAX_CLASS_IDX
public static final int SMF70WC_MAX_CLASS_IDXConstant: 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). Usesmf70wcSamplesAsBigInteger()if this is possible.
-
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 sectionoffset- Offset of this section in the datalength- length of the section
-