* Copyright (C) 2012 DataStax Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
private static final ReconnectionPolicy DEFAULT_RECONNECTION_POLICY = new ExponentialReconnectionPolicy(1000, 10 * 60 * 1000);
The default load balancing policy is
// Note: balancing policies are stateful, so we can't store that in a static or that would screw thing
// up if multiple Cluster instance are started in the same JVM.
The default reconnection policy is an
where the base delay is 1 second and the max delay is 10 minutes;
The default retry policy is