Class: Kcl::Types::RecordsInput
- Inherits:
-
Object
- Object
- Kcl::Types::RecordsInput
- Defined in:
- lib/kcl/types/records_input.rb
Overview
Container for the parameters to the IRecordProcessor’s method.
Instance Attribute Summary collapse
-
#millis_behind_latest ⇒ Object
readonly
Returns the value of attribute millis_behind_latest.
-
#record_checkpointer ⇒ Object
readonly
Returns the value of attribute record_checkpointer.
-
#records ⇒ Object
readonly
Returns the value of attribute records.
Instance Method Summary collapse
-
#initialize(records, millis_behind_latest, record_checkpointer) ⇒ RecordsInput
constructor
A new instance of RecordsInput.
Constructor Details
#initialize(records, millis_behind_latest, record_checkpointer) ⇒ RecordsInput
Returns a new instance of RecordsInput.
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_latest ⇒ Object (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_checkpointer ⇒ Object (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 |
#records ⇒ Object (readonly)
Returns the value of attribute records.
4 5 6 |
# File 'lib/kcl/types/records_input.rb', line 4 def records @records end |