Cassandra v1.0.0-beta.4 Cassandra.LoadBalancing.Policy protocol

Protocol to specify a load balancing policy

Summary

Functions

Returns number of connections to open to the host where host is a {ip, data_center, rack} tuple

Types

t()
t() :: term

Functions

count(balancer, host)

Returns number of connections to open to the host where host is a {ip, data_center, rack} tuple

plan(balancer, statement, schema, connections)