File tree 2 files changed +0
-16
lines changed
main/java/com/ing/data/cassandra/jdbc/utils
test/java/com/ing/data/cassandra/jdbc
2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -91,17 +91,6 @@ public final class JdbcUrlUtil {
91
91
*/
92
92
public static final String TAG_FETCH_SIZE = "fetchSize" ;
93
93
94
- /**
95
- * JDBC URL parameter key for the connection number of retries.
96
- */
97
- public static final String KEY_CONNECTION_RETRIES = "retries" ;
98
-
99
- /**
100
- * Property name used to retrieve the number of retries when the connection to Cassandra is established. This
101
- * property is mapped from the JDBC URL parameter {@code retries}.
102
- */
103
- public static final String TAG_CONNECTION_RETRIES = "retries" ;
104
-
105
94
/**
106
95
* JDBC URL parameter key for the load balancing policy.
107
96
*/
@@ -415,9 +404,6 @@ public static Properties parseURL(final String url) throws SQLException {
415
404
if (params .containsKey (KEY_FETCH_SIZE )) {
416
405
props .setProperty (TAG_FETCH_SIZE , params .get (KEY_FETCH_SIZE ));
417
406
}
418
- if (params .containsKey (KEY_CONNECTION_RETRIES )) {
419
- props .setProperty (TAG_CONNECTION_RETRIES , params .get (KEY_CONNECTION_RETRIES ));
420
- }
421
407
if (params .containsKey (KEY_LOAD_BALANCING_POLICY )) {
422
408
props .setProperty (TAG_LOAD_BALANCING_POLICY , params .get (KEY_LOAD_BALANCING_POLICY ));
423
409
}
Original file line number Diff line number Diff line change 53
53
import static com .ing .data .cassandra .jdbc .utils .ErrorConstants .URI_IS_SIMPLE ;
54
54
import static com .ing .data .cassandra .jdbc .utils .JdbcUrlUtil .PROTOCOL ;
55
55
import static com .ing .data .cassandra .jdbc .utils .JdbcUrlUtil .TAG_CLOUD_SECURE_CONNECT_BUNDLE ;
56
- import static com .ing .data .cassandra .jdbc .utils .JdbcUrlUtil .TAG_CONNECTION_RETRIES ;
57
56
import static com .ing .data .cassandra .jdbc .utils .JdbcUrlUtil .TAG_CONSISTENCY_LEVEL ;
58
57
import static com .ing .data .cassandra .jdbc .utils .JdbcUrlUtil .TAG_CONTACT_POINTS ;
59
58
import static com .ing .data .cassandra .jdbc .utils .JdbcUrlUtil .TAG_DATABASE_NAME ;
@@ -136,7 +135,6 @@ static Stream<Arguments> buildUrlParsingTestCases() {
136
135
put (TAG_DATABASE_NAME , "Keyspace1" );
137
136
put (TAG_LOCAL_DATACENTER , "DC1" );
138
137
put (TAG_DEBUG , "true" );
139
- put (TAG_CONNECTION_RETRIES , "5" );
140
138
put (TAG_LOAD_BALANCING_POLICY , "com.company.package.CustomLBPolicy" );
141
139
put (TAG_RETRY_POLICY , "com.company.package.CustomRetryPolicy" );
142
140
put (TAG_RECONNECT_POLICY , "ConstantReconnectionPolicy()" );
You can’t perform that action at this time.
0 commit comments