Class: ModelContextProtocol::Server::RedisConfig::Configuration
- Inherits:
-
Object
- Object
- ModelContextProtocol::Server::RedisConfig::Configuration
- Defined in:
- lib/model_context_protocol/server/redis_config.rb
Instance Attribute Summary collapse
-
#enable_reaper ⇒ Object
Returns the value of attribute enable_reaper.
-
#idle_timeout ⇒ Object
Returns the value of attribute idle_timeout.
-
#pool_size ⇒ Object
Returns the value of attribute pool_size.
-
#pool_timeout ⇒ Object
Returns the value of attribute pool_timeout.
-
#reaper_interval ⇒ Object
Returns the value of attribute reaper_interval.
-
#redis_url ⇒ Object
Returns the value of attribute redis_url.
-
#ssl_params ⇒ Object
Returns the value of attribute ssl_params.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
95 96 97 98 99 100 101 102 103 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 95 def initialize @redis_url = nil @pool_size = 20 @pool_timeout = 5 @enable_reaper = true @reaper_interval = 60 @idle_timeout = 300 @ssl_params = nil end |
Instance Attribute Details
#enable_reaper ⇒ Object
Returns the value of attribute enable_reaper.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def enable_reaper @enable_reaper end |
#idle_timeout ⇒ Object
Returns the value of attribute idle_timeout.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def idle_timeout @idle_timeout end |
#pool_size ⇒ Object
Returns the value of attribute pool_size.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def pool_size @pool_size end |
#pool_timeout ⇒ Object
Returns the value of attribute pool_timeout.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def pool_timeout @pool_timeout end |
#reaper_interval ⇒ Object
Returns the value of attribute reaper_interval.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def reaper_interval @reaper_interval end |
#redis_url ⇒ Object
Returns the value of attribute redis_url.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def redis_url @redis_url end |
#ssl_params ⇒ Object
Returns the value of attribute ssl_params.
92 93 94 |
# File 'lib/model_context_protocol/server/redis_config.rb', line 92 def ssl_params @ssl_params end |