Sha256: 49fffd58f5ba623776f9cd3f3de82cacf40d141b1aa5238dd5d71b1ad04154cc

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

class DistributedMarshaledRedis < DistRedis
  def initialize(addresses)
    nodes = addresses.map do |address|
      MarshaledRedis.new address
    end
    @ring = Redis::HashRing.new nodes
  end
  
  alias_method :flushdb, :delete_cloud!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dsander-redis-store-0.3.8 lib/redis/distributed_marshaled_redis.rb