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
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x80 = 128static final int
Constant: 0x08 = 8static final int
Constant: 0x10 = 16static final int
Constant: 0x20 = 32static final int
Constant: 0x40 = 64static final int
Constant: 0x04 = 4 -
Method Summary
Modifier and TypeMethodDescriptionstatic LogstreamStatisticsSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.long
smf23bac()
SMF23BAC value, throws exception if SMF23BAC overflows 64 bit signed integer.SMF23BAC value as a BigInteger.long
smf23bbc()
SMF23BBC value, throws exception if SMF23BBC overflows 64 bit signed integer.SMF23BBC value as a BigInteger.boolean
smf23bwg()
Return true ifSMF23BWG
bit insmf23lfg()
is set.boolean
smf23cmp()
Return true ifSMF23CMP
bit insmf23lfg()
is set.byte[]
smf23cnt()
SMF23CNT data.boolean
smf23cpr()
Return true ifSMF23CPR
bit insmf23lfg()
is set.boolean
smf23crq()
Return true ifSMF23CRQ
bit insmf23lfg()
is set.long
smf23cwn()
SMF23CWN value.boolean
smf23dwg()
Return true ifSMF23DWG
bit insmf23lfg()
is set.long
smf23lcp()
SMF23LCP value.long
smf23lfa()
SMF23LFA value.long
smf23lfg()
SMF23LFG value.long
smf23lfh()
SMF23LFH value.long
smf23lfl()
SMF23LFL value.long
smf23lfm()
SMF23LFM value.long
smf23lft()
SMF23LFT value.long
smf23lhp()
SMF23LHP value.int
smf23lsl()
SMF23LSL value.smf23lsn()
SMF23LSN value.long
smf23ncn()
SMF23NCN value.boolean
smf23pfg()
Return true ifSMF23PFG
bit insmf23lfg()
is set.long
smf23pfh()
SMF23PFH value.long
smf23pfm()
SMF23PFM value.long
smf23pft()
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 ifSMF23BWG
bit insmf23lfg()
is set.- Returns:
- boolean SMF23BWG bit is set in smf23lfg()
SMF23BWG = 0x80
-
smf23dwg
public boolean smf23dwg()Return true ifSMF23DWG
bit insmf23lfg()
is set.- Returns:
- boolean SMF23DWG bit is set in smf23lfg()
SMF23DWG = 0x40
-
smf23crq
public boolean smf23crq()Return true ifSMF23CRQ
bit insmf23lfg()
is set.- Returns:
- boolean SMF23CRQ bit is set in smf23lfg()
SMF23CRQ = 0x20
-
smf23cpr
public boolean smf23cpr()Return true ifSMF23CPR
bit insmf23lfg()
is set.- Returns:
- boolean SMF23CPR bit is set in smf23lfg()
SMF23CPR = 0x10
-
smf23cmp
public boolean smf23cmp()Return true ifSMF23CMP
bit insmf23lfg()
is set.- Returns:
- boolean SMF23CMP bit is set in smf23lfg()
SMF23CMP = 0x08
-
smf23pfg
public boolean smf23pfg()Return true ifSMF23PFG
bit 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
-