Class: Kcl::Types::InitializationInput

Inherits:
Object
  • Object
show all
Defined in:
lib/kcl/types/initialization_input.rb

Overview

Container for the parameters to the RecordProcessor’s method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shard_id, extended_sequence_number) ⇒ InitializationInput

Returns a new instance of InitializationInput.

Parameters:



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_numberObject (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_idObject (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