Class: Kcl::Types::InitializationInput
- Inherits:
-
Object
- Object
- Kcl::Types::InitializationInput
- Defined in:
- lib/kcl/types/initialization_input.rb
Overview
Container for the parameters to the RecordProcessor’s method.
Instance Attribute Summary collapse
-
#extended_sequence_number ⇒ Object
readonly
Returns the value of attribute extended_sequence_number.
-
#shard_id ⇒ Object
readonly
Returns the value of attribute shard_id.
Instance Method Summary collapse
-
#initialize(shard_id, extended_sequence_number) ⇒ InitializationInput
constructor
A new instance of InitializationInput.
Constructor Details
#initialize(shard_id, extended_sequence_number) ⇒ InitializationInput
Returns a new instance of InitializationInput.
8 9 10 11 |
# File 'lib/kcl/types/initialization_input.rb', line 8 def initialize(shard_id, extended_sequence_number) @shard_id = shard_id @extended_sequence_number = extended_sequence_number end |
Instance Attribute Details
#extended_sequence_number ⇒ Object (readonly)
Returns the value of attribute extended_sequence_number.
4 5 6 |
# File 'lib/kcl/types/initialization_input.rb', line 4 def extended_sequence_number @extended_sequence_number end |
#shard_id ⇒ Object (readonly)
Returns the value of attribute shard_id.
4 5 6 |
# File 'lib/kcl/types/initialization_input.rb', line 4 def shard_id @shard_id end |