class Cassandra::Cluster::Schema::ReplicationStrategies::None
@private
Public Instance Methods
replication_map(token_hosts, token_ring, replication_options)
click to toggle source
# File lib/cassandra/cluster/schema/replication_strategies/none.rb 26 def replication_map(token_hosts, token_ring, replication_options) 27 replication_map = ::Hash.new 28 29 token_hosts.each do |token, host| 30 replication_map[token] = [host].freeze 31 end 32 33 replication_map 34 end