class Cassandra::Execution::Profile
A profile is a collection of settings to use when executing and preparing statements. Register different
profiles when creating the Cluster
and execute/prepare statements with a particular profile
by providing its name to the relevant method in Session
.
Inherits
Object
Methods
self.
new
(options = {})Returns a new instance of Profile
load_balancing_policy
Returns load-balancing policy that determines which node will run the next statement.
retry_policy
Returns retry policy that determines how request retries should be handled for different failure modes.
consistency
Returns consistency level with which to run statements.
timeout
Returns request execution timeout in seconds. nil
means there is no timeout.