/** * Downgrades the specified consistency level to be compatible with the Cassandra ring's actual topology. * Useful for writing code that runs against rings that vary between single-node testing servers and multi- * data center, highly replicated network topologies. */ public ConsistencyLevel clamp(ConsistencyLevel consistencyLevel) { return _topologyAdapter.clamp(consistencyLevel); }
/** * Downgrades the specified consistency level to be compatible with the Cassandra ring's actual topology. * Useful for writing code that runs against rings that vary between single-node testing servers and multi- * data center, highly replicated network topologies. */ public ConsistencyLevel clamp(ConsistencyLevel consistencyLevel) { return _topologyAdapter.clamp(consistencyLevel); }