Class: HKeyPerfDataReader::ConvertedType::PerfDataBlock
- Inherits:
-
Object
- Object
- HKeyPerfDataReader::ConvertedType::PerfDataBlock
- Defined in:
- lib/fluent/plugin/hkey_perf_data_converted_type.rb
Instance Attribute Summary collapse
-
#headerLength ⇒ Object
readonly
Returns the value of attribute headerLength.
-
#numObjectTypes ⇒ Object
readonly
Returns the value of attribute numObjectTypes.
-
#revision ⇒ Object
readonly
Returns the value of attribute revision.
-
#signature ⇒ Object
readonly
Returns the value of attribute signature.
-
#totalByteLength ⇒ Object
readonly
Returns the value of attribute totalByteLength.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(raw_perf_data_block) ⇒ PerfDataBlock
constructor
A new instance of PerfDataBlock.
Constructor Details
#initialize(raw_perf_data_block) ⇒ PerfDataBlock
Returns a new instance of PerfDataBlock.
27 28 29 30 31 32 33 34 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 27 def initialize(raw_perf_data_block) @signature = raw_perf_data_block.signature.pack("c*") @version = raw_perf_data_block.version @revision = raw_perf_data_block.revision @totalByteLength = raw_perf_data_block.totalByteLength @headerLength = raw_perf_data_block.headerLength @numObjectTypes = raw_perf_data_block.numObjectTypes end |
Instance Attribute Details
#headerLength ⇒ Object (readonly)
Returns the value of attribute headerLength.
24 25 26 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 24 def headerLength @headerLength end |
#numObjectTypes ⇒ Object (readonly)
Returns the value of attribute numObjectTypes.
25 26 27 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 25 def numObjectTypes @numObjectTypes end |
#revision ⇒ Object (readonly)
Returns the value of attribute revision.
22 23 24 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 22 def revision @revision end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature.
20 21 22 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 20 def signature @signature end |
#totalByteLength ⇒ Object (readonly)
Returns the value of attribute totalByteLength.
23 24 25 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 23 def totalByteLength @totalByteLength end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
21 22 23 |
# File 'lib/fluent/plugin/hkey_perf_data_converted_type.rb', line 21 def version @version end |