module MeRedisHotMigrator::FutureMigrator
——————————-KZ migration ENDED ————————————
Public Instance Methods
prev_future=(new_prev_future)
click to toggle source
# File lib/me_redis/me_redis_hot_migrator.rb, line 125 def prev_future=(new_prev_future); @prev_future = new_prev_future end
value()
click to toggle source
Calls superclass method
# File lib/me_redis/me_redis_hot_migrator.rb, line 126 def value; vl = super if !vl @prev_future&.value elsif vl.is_a?(Array) && @prev_future vl.zip( @prev_future&.value ).map{|nvl, old| nvl || old } else vl end end