Sha256: ade31a6c32e3678dc5b0a8984f97fd35aaf75c09c2c7541d164e76632c6567f0
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
class Redis class DistributedMarshaled < Distributed attr_reader :ring def initialize(addresses) nodes = addresses.map do |address| MarshaledClient.new address end @ring = Redis::HashRing.new nodes end def nodes ring.nodes end alias_method :flushdb, :delete_cloud! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis-store-0.3.8 | lib/redis/distributed_marshaled.rb |