Make ConfigurableConsistencyLevel thread-safe at runtime by moving the call to consistencyLevelPolicy.get(operationType) and consistencyLevelPolicy.get(operationType,cfName) out of the anonymous class Operation<T>