Class: Redis::DeprecatedMulti
- Inherits:
-
Pipeline::Multi
- Object
- Pipeline
- Pipeline::Multi
- Redis::DeprecatedMulti
- Defined in:
- lib/redis/pipeline.rb
Constant Summary
Constants inherited from Pipeline
Pipeline::REDIS_INTERNAL_PATH, Pipeline::STDLIB_PATH
Instance Attribute Summary
Attributes inherited from Pipeline
Instance Method Summary collapse
- #__getobj__ ⇒ Object
-
#initialize(pipeline) ⇒ DeprecatedMulti
constructor
A new instance of DeprecatedMulti.
Methods inherited from Pipeline::Multi
Methods inherited from Pipeline
#call, #call_pipeline, #call_with_timeout, #commands, deprecation_warning, #empty?, #finish, #shutdown?, #timeout, #timeouts, #with_reconnect, #with_reconnect?, #without_reconnect, #without_reconnect?
Constructor Details
#initialize(pipeline) ⇒ DeprecatedMulti
Returns a new instance of DeprecatedMulti.
206 207 208 209 |
# File 'lib/redis/pipeline.rb', line 206 def initialize(pipeline) super(pipeline) @deprecation_displayed = false end |
Instance Method Details
#__getobj__ ⇒ Object
211 212 213 214 215 216 217 |
# File 'lib/redis/pipeline.rb', line 211 def __getobj__ unless @deprecation_displayed Pipeline.deprecation_warning("multi", Kernel.caller_locations(1, 10)) @deprecation_displayed = true end @delegate_dc_obj end |