Class: Bricolage::StreamingLoad::ShutdownEvent

Inherits:
Event show all
Defined in:
lib/bricolage/streamingload/event.rb

Constant Summary

Constants inherited from Bricolage::SQSMessage

Bricolage::SQSMessage::SQS_EVENT_SOURCE

Instance Attribute Summary

Attributes inherited from Bricolage::SQSMessage

#delay_seconds, #message_id, #name, #receipt_handle, #source, #time

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Event

#data?, get_concrete_class

Methods inherited from Bricolage::SQSMessage

#body, for_sqs_record, for_sqs_result, get_event_time, #initialize

Constructor Details

This class inherits a constructor from Bricolage::SQSMessage

Class Method Details

.createObject



33
34
35
# File 'lib/bricolage/streamingload/event.rb', line 33

def ShutdownEvent.create
  super name: 'shutdown'
end

.parse_sqs_record(msg, rec) ⇒ Object



37
38
39
# File 'lib/bricolage/streamingload/event.rb', line 37

def ShutdownEvent.parse_sqs_record(msg, rec)
  {}
end

Instance Method Details

#init_message(dummy: nil) ⇒ Object



43
44
# File 'lib/bricolage/streamingload/event.rb', line 43

def init_message(dummy: nil)
end