Class: ConfigOMat::FlipFlopper::Memory
- Inherits:
-
LifecycleVM::Memory
- Object
- LifecycleVM::Memory
- ConfigOMat::FlipFlopper::Memory
- Defined in:
- lib/config_o_mat/flip_flopper/memory.rb
Instance Attribute Summary collapse
-
#activating_instance ⇒ Object
Returns the value of attribute activating_instance.
-
#activating_interface ⇒ Object
Returns the value of attribute activating_interface.
-
#activation_status ⇒ Object
Returns the value of attribute activation_status.
-
#max_wait ⇒ Object
Returns the value of attribute max_wait.
-
#min_wait ⇒ Object
Returns the value of attribute min_wait.
-
#running_instance ⇒ Object
Returns the value of attribute running_instance.
-
#runtime_directory ⇒ Object
readonly
Returns the value of attribute runtime_directory.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
-
#systemd_interface ⇒ Object
readonly
Returns the value of attribute systemd_interface.
Instance Method Summary collapse
-
#initialize(systemd_interface: nil, service: nil, min_wait: 5, max_wait: 30, runtime_directory: nil, running_instance: nil, activating_instance: nil, activation_status: nil, activating_interface: nil, logger: nil) ⇒ Memory
constructor
A new instance of Memory.
Constructor Details
#initialize(systemd_interface: nil, service: nil, min_wait: 5, max_wait: 30, runtime_directory: nil, running_instance: nil, activating_instance: nil, activation_status: nil, activating_interface: nil, logger: nil) ⇒ Memory
Returns a new instance of Memory.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 26 def initialize( systemd_interface: nil, service: nil, min_wait: 5, max_wait: 30, runtime_directory: nil, running_instance: nil, activating_instance: nil, activation_status: nil, activating_interface: nil, logger: nil ) @systemd_interface = systemd_interface @service = service @min_wait = min_wait @max_wait = max_wait @runtime_directory = runtime_directory @running_instance = running_instance @activating_instance = activating_instance @activation_status = activation_status @activating_interface = activating_interface @logger = logger end |
Instance Attribute Details
#activating_instance ⇒ Object
Returns the value of attribute activating_instance.
23 24 25 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 23 def activating_instance @activating_instance end |
#activating_interface ⇒ Object
Returns the value of attribute activating_interface.
23 24 25 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 23 def activating_interface @activating_interface end |
#activation_status ⇒ Object
Returns the value of attribute activation_status.
23 24 25 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 23 def activation_status @activation_status end |
#max_wait ⇒ Object
Returns the value of attribute max_wait.
23 24 25 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 23 def max_wait @max_wait end |
#min_wait ⇒ Object
Returns the value of attribute min_wait.
23 24 25 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 23 def min_wait @min_wait end |
#running_instance ⇒ Object
Returns the value of attribute running_instance.
23 24 25 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 23 def running_instance @running_instance end |
#runtime_directory ⇒ Object (readonly)
Returns the value of attribute runtime_directory.
22 23 24 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 22 def runtime_directory @runtime_directory end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
22 23 24 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 22 def service @service end |
#systemd_interface ⇒ Object (readonly)
Returns the value of attribute systemd_interface.
22 23 24 |
# File 'lib/config_o_mat/flip_flopper/memory.rb', line 22 def systemd_interface @systemd_interface end |