Class: Kcl::Types::RecordsInput

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

Overview

Container for the parameters to the IRecordProcessor’s method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(records, millis_behind_latest, record_checkpointer) ⇒ RecordsInput

Returns a new instance of RecordsInput.

Parameters:



9
10
11
12
13
# File 'lib/kcl/types/records_input.rb', line 9

def initialize(records, millis_behind_latest, record_checkpointer)
  @records              = records
  @millis_behind_latest = millis_behind_latest
  @record_checkpointer  = record_checkpointer
end

Instance Attribute Details

#millis_behind_latestObject (readonly)

Returns the value of attribute millis_behind_latest.



4
5
6
# File 'lib/kcl/types/records_input.rb', line 4

def millis_behind_latest
  @millis_behind_latest
end

#record_checkpointerObject (readonly)

Returns the value of attribute record_checkpointer.



4
5
6
# File 'lib/kcl/types/records_input.rb', line 4

def record_checkpointer
  @record_checkpointer
end

#recordsObject (readonly)

Returns the value of attribute records.



4
5
6
# File 'lib/kcl/types/records_input.rb', line 4

def records
  @records
end