Class: Kcl::Types::ShutdownInput
- Inherits:
-
Object
- Object
- Kcl::Types::ShutdownInput
- Defined in:
- lib/kcl/types/shutdown_input.rb
Overview
Container for the parameters to the IRecordProcessor’s method.
Instance Attribute Summary collapse
-
#record_checkpointer ⇒ Object
readonly
Returns the value of attribute record_checkpointer.
-
#shutdown_reason ⇒ Object
readonly
Returns the value of attribute shutdown_reason.
Instance Method Summary collapse
-
#initialize(shutdown_reason, record_checkpointer) ⇒ ShutdownInput
constructor
A new instance of ShutdownInput.
Constructor Details
#initialize(shutdown_reason, record_checkpointer) ⇒ ShutdownInput
Returns a new instance of ShutdownInput.
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_checkpointer ⇒ Object (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_reason ⇒ Object (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 |