Package com.blackhillsoftware.smf.smf23
Class LogstreamStatisticsSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf23.LogstreamStatisticsSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant: 0x80 = 128static final intConstant: 0x08 = 8static final intConstant: 0x10 = 16static final intConstant: 0x20 = 32static final intConstant: 0x40 = 64static final intConstant: 0x04 = 4 -
Method Summary
Modifier and TypeMethodDescriptionstatic LogstreamStatisticsSectioncreate(byte[] Data, int offset, int length) create is intended for internal use only.longsmf23bac()SMF23BAC value, throws exception if SMF23BAC overflows 64 bit signed integer.SMF23BAC value as a BigInteger.longsmf23bbc()SMF23BBC value, throws exception if SMF23BBC overflows 64 bit signed integer.SMF23BBC value as a BigInteger.booleansmf23bwg()Return true ifSMF23BWGbit insmf23lfg()is set.booleansmf23cmp()Return true ifSMF23CMPbit insmf23lfg()is set.byte[]smf23cnt()SMF23CNT data.booleansmf23cpr()Return true ifSMF23CPRbit insmf23lfg()is set.booleansmf23crq()Return true ifSMF23CRQbit insmf23lfg()is set.longsmf23cwn()SMF23CWN value.booleansmf23dwg()Return true ifSMF23DWGbit insmf23lfg()is set.longsmf23lcp()SMF23LCP value.longsmf23lfa()SMF23LFA value.longsmf23lfg()SMF23LFG value.longsmf23lfh()SMF23LFH value.longsmf23lfl()SMF23LFL value.longsmf23lfm()SMF23LFM value.longsmf23lft()SMF23LFT value.longsmf23lhp()SMF23LHP value.intsmf23lsl()SMF23LSL value.smf23lsn()SMF23LSN value.longsmf23ncn()SMF23NCN value.booleansmf23pfg()Return true ifSMF23PFGbit insmf23lfg()is set.longsmf23pfh()SMF23PFH value.longsmf23pfm()SMF23PFM value.longsmf23pft()SMF23PFT value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF23BWG
public static final int SMF23BWGConstant: 0x80 = 128- See Also:
-
SMF23DWG
public static final int SMF23DWGConstant: 0x40 = 64- See Also:
-
SMF23CRQ
public static final int SMF23CRQConstant: 0x20 = 32- See Also:
-
SMF23CPR
public static final int SMF23CPRConstant: 0x10 = 16- See Also:
-
SMF23CMP
public static final int SMF23CMPConstant: 0x08 = 8- See Also:
-
SMF23PFG
public static final int SMF23PFGConstant: 0x04 = 4- See Also:
-
-
Method Details
-
smf23lsl
public int smf23lsl()SMF23LSL value.- Returns:
- int SMF23LSL value
-
smf23lsn
SMF23LSN value.- Returns:
- String SMF23LSN value
-
smf23lfa
public long smf23lfa()SMF23LFA value.- Returns:
- long SMF23LFA value
-
smf23lft
public long smf23lft()SMF23LFT value.- Returns:
- long SMF23LFT value
-
smf23lfh
public long smf23lfh()SMF23LFH value.- Returns:
- long SMF23LFH value
-
smf23lfm
public long smf23lfm()SMF23LFM value.- Returns:
- long SMF23LFM value
-
smf23lfl
public long smf23lfl()SMF23LFL value.- Returns:
- long SMF23LFL value
-
smf23lfg
public long smf23lfg()SMF23LFG value.- Returns:
- long SMF23LFG value
-
smf23bwg
public boolean smf23bwg()Return true ifSMF23BWGbit insmf23lfg()is set.- Returns:
- boolean SMF23BWG bit is set in smf23lfg()
SMF23BWG = 0x80
-
smf23dwg
public boolean smf23dwg()Return true ifSMF23DWGbit insmf23lfg()is set.- Returns:
- boolean SMF23DWG bit is set in smf23lfg()
SMF23DWG = 0x40
-
smf23crq
public boolean smf23crq()Return true ifSMF23CRQbit insmf23lfg()is set.- Returns:
- boolean SMF23CRQ bit is set in smf23lfg()
SMF23CRQ = 0x20
-
smf23cpr
public boolean smf23cpr()Return true ifSMF23CPRbit insmf23lfg()is set.- Returns:
- boolean SMF23CPR bit is set in smf23lfg()
SMF23CPR = 0x10
-
smf23cmp
public boolean smf23cmp()Return true ifSMF23CMPbit insmf23lfg()is set.- Returns:
- boolean SMF23CMP bit is set in smf23lfg()
SMF23CMP = 0x08
-
smf23pfg
public boolean smf23pfg()Return true ifSMF23PFGbit insmf23lfg()is set.- Returns:
- boolean SMF23PFG bit is set in smf23lfg()
SMF23PFG = 0x04
-
smf23pft
public long smf23pft()SMF23PFT value.- Returns:
- long SMF23PFT value
-
smf23pfm
public long smf23pfm()SMF23PFM value.- Returns:
- long SMF23PFM value
-
smf23pfh
public long smf23pfh()SMF23PFH value.- Returns:
- long SMF23PFH value
-
smf23cnt
public byte[] smf23cnt()SMF23CNT data.- Returns:
- byte[] SMF23CNT data
-
smf23cwn
public long smf23cwn()SMF23CWN value.- Returns:
- long SMF23CWN value
-
smf23ncn
public long smf23ncn()SMF23NCN value.- Returns:
- long SMF23NCN value
-
smf23bbc
public long smf23bbc()SMF23BBC value, throws exception if SMF23BBC overflows 64 bit signed integer.- Returns:
- long SMF23BBC
- Throws:
IllegalArgumentException- If the value of SMF23BBC exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF23BBC). Usesmf23bbcAsBigInteger()if this is possible.
-
smf23bbcAsBigInteger
SMF23BBC value as a BigInteger.smf23bbc()may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF23BBC
-
smf23bac
public long smf23bac()SMF23BAC value, throws exception if SMF23BAC overflows 64 bit signed integer.- Returns:
- long SMF23BAC
- Throws:
IllegalArgumentException- If the value of SMF23BAC exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF23BAC). Usesmf23bacAsBigInteger()if this is possible.
-
smf23bacAsBigInteger
SMF23BAC value as a BigInteger.smf23bac()may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF23BAC
-
smf23lhp
public long smf23lhp()SMF23LHP value.- Returns:
- long SMF23LHP value
-
smf23lcp
public long smf23lcp()SMF23LCP value.- Returns:
- long SMF23LCP 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
-