Class: Kcl::Types::ShutdownInput

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

Overview

Container for the parameters to the IRecordProcessor’s method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shutdown_reason, record_checkpointer) ⇒ ShutdownInput

Returns a new instance of ShutdownInput.

Parameters:



8
9
10
11
# File 'lib/kcl/types/shutdown_input.rb', line 8

def initialize(shutdown_reason, record_checkpointer)
  @shutdown_reason     = shutdown_reason
  @record_checkpointer = record_checkpointer
end

Instance Attribute Details

#record_checkpointerObject (readonly)

Returns the value of attribute record_checkpointer.



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

def record_checkpointer
  @record_checkpointer
end

#shutdown_reasonObject (readonly)

Returns the value of attribute shutdown_reason.



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

def shutdown_reason
  @shutdown_reason
end