java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf89.Smf89Record
Mapping for SMF type 89 record.
Typically you would obtain Smf89Records by reading SmfRecords and
using
Smf89Record.
from(SmfRecord)
to create the specialized record after determining the record type and subtype.
- Sections
- Most section types are returned in a List containing 0 or more of the section type, depending on the values in the header triplet. If the record is documented as always having exactly 1 of a section e.g. Product Section, the single section is returned.
-
Constructor Summary
ConstructorDescriptionSmf89Record
(byte[] data) Constructs an SMF89Record from the specified byte array.Smf89Record
(SmfRecord record) Constructs a new Smf89Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionstatic Smf89Record
from
(byte[] data) Constructs an Smf89Record from the specified byte array.static Smf89Record
Constructs a new Smf89Record from an existing SMF record.header()
Get the header for this recordGet a List containing Product Intersection Data sections from the recordGet the Product Section for this recordGet a List containing State Data sections from the recordGet the System ID Section for this recordGet a List containing Tenant Resource Group Product Intersection Data sections from the recordGet a List containing State Data sections from the recordGet a List containing Usage Data sections from the recordGet a List containing Usage Data sections from the recordMethods inherited from class com.blackhillsoftware.smf.SmfRecord
createSection, extendedHeader, extendedHeader, getTriplet, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system
-
Constructor Details
-
Smf89Record
public Smf89Record(byte[] data) Constructs an SMF89Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
Smf89Record
Constructs a new Smf89Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
-
Method Details
-
from
Constructs a new Smf89Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf89Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
header
Get the header for this record- Returns:
- SMF type 89 record header
-
productSection
Get the Product Section for this record- Returns:
- SMF type 89 record product section
-
systemIdSection
Get the System ID Section for this record- Returns:
- SMF type 89 record SystemId section
-
usageDataSections
Get a List containing Usage Data sections from the record- Returns:
- a list of UsageData (possibly empty)
-
productIntersectionData
Get a List containing Product Intersection Data sections from the record- Returns:
- a list of ProductIntersectionData (possibly empty)
-
stateData
Get a List containing State Data sections from the record- Returns:
- a list of StateData (possibly empty)
-
trgUsageDataSections
Get a List containing Usage Data sections from the record- Returns:
- a list of UsageData (possibly empty)
-
trgProductIntersectionData
Get a List containing Tenant Resource Group Product Intersection Data sections from the record- Returns:
- a list of TrgProductIntersectionData (possibly empty)
-
trgStateData
Get a List containing State Data sections from the record- Returns:
- a list of StateData (possibly empty)
-