Class: Aws::KCLrb::V2::ProcessRecordsInput Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/kclrb/messages.rb

Overview

This class is abstract.

Input object for RecordProcessorBase#process_records method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(records, millis_behind_latest, checkpointer = nil) ⇒ ProcessRecordsInput

Returns a new instance of ProcessRecordsInput.



20
21
22
23
24
# File 'lib/aws/kclrb/messages.rb', line 20

def initialize(records, millis_behind_latest, checkpointer = nil)
  @records = records
  @millis_behind_latest = millis_behind_latest
  @checkpointer = checkpointer
end

Instance Attribute Details

#checkpointerObject (readonly)

Returns the value of attribute checkpointer.



18
19
20
# File 'lib/aws/kclrb/messages.rb', line 18

def checkpointer
  @checkpointer
end

#millis_behind_latestObject (readonly)

Returns the value of attribute millis_behind_latest.



18
19
20
# File 'lib/aws/kclrb/messages.rb', line 18

def millis_behind_latest
  @millis_behind_latest
end

#recordsObject (readonly)

Returns the value of attribute records.



18
19
20
# File 'lib/aws/kclrb/messages.rb', line 18

def records
  @records
end