Class: HealthMonitor::Providers::Redis::Configuration
- Inherits:
-
Base::Configuration
- Object
- Base::Configuration
- HealthMonitor::Providers::Redis::Configuration
- Defined in:
- lib/health_monitor/providers/redis.rb
Constant Summary collapse
- DEFAULT_URL =
nil
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#max_used_memory ⇒ Object
Returns the value of attribute max_used_memory.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from Base::Configuration
Instance Method Summary collapse
-
#initialize(provider) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(provider) ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 |
# File 'lib/health_monitor/providers/redis.rb', line 17 def initialize(provider) super(provider) @url = DEFAULT_URL end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
15 16 17 |
# File 'lib/health_monitor/providers/redis.rb', line 15 def connection @connection end |
#max_used_memory ⇒ Object
Returns the value of attribute max_used_memory.
15 16 17 |
# File 'lib/health_monitor/providers/redis.rb', line 15 def max_used_memory @max_used_memory end |
#url ⇒ Object
Returns the value of attribute url.
15 16 17 |
# File 'lib/health_monitor/providers/redis.rb', line 15 def url @url end |