Class: MasterLock::Config
- Inherits:
-
Struct
- Object
- Struct
- MasterLock::Config
- Defined in:
- lib/master_lock.rb
Instance Attribute Summary collapse
-
#acquire_timeout ⇒ Object
Returns the value of attribute acquire_timeout.
-
#extend_interval ⇒ Object
Returns the value of attribute extend_interval.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#key_prefix ⇒ Object
Returns the value of attribute key_prefix.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#redis ⇒ Object
Returns the value of attribute redis.
-
#sleep_time ⇒ Object
Returns the value of attribute sleep_time.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
Instance Attribute Details
#acquire_timeout ⇒ Object
Returns the value of attribute acquire_timeout
27 28 29 |
# File 'lib/master_lock.rb', line 27 def acquire_timeout @acquire_timeout end |
#extend_interval ⇒ Object
Returns the value of attribute extend_interval
27 28 29 |
# File 'lib/master_lock.rb', line 27 def extend_interval @extend_interval end |
#hostname ⇒ Object
Returns the value of attribute hostname
27 28 29 |
# File 'lib/master_lock.rb', line 27 def hostname @hostname end |
#key_prefix ⇒ Object
Returns the value of attribute key_prefix
27 28 29 |
# File 'lib/master_lock.rb', line 27 def key_prefix @key_prefix end |
#logger ⇒ Object
Returns the value of attribute logger
27 28 29 |
# File 'lib/master_lock.rb', line 27 def logger @logger end |
#redis ⇒ Object
Returns the value of attribute redis
27 28 29 |
# File 'lib/master_lock.rb', line 27 def redis @redis end |
#sleep_time ⇒ Object
Returns the value of attribute sleep_time
27 28 29 |
# File 'lib/master_lock.rb', line 27 def sleep_time @sleep_time end |
#ttl ⇒ Object
Returns the value of attribute ttl
27 28 29 |
# File 'lib/master_lock.rb', line 27 def ttl @ttl end |