Elffuss BraidHub

kikocis/java-driver public

Merge branch '2.0.10_fixes' into 2.0
Changeset10b4a181d487549ee45b7986aad8cc1aa9159d8e71299a516d66b380ab6f0910
Authorolim7t <omichallat+github@gmail.com> · 2015-05-05 10:26 +02:00
Committerolim7t <omichallat+github@gmail.com> · 2015-05-05 10:26 +02:00
Parentsb658bd0f1023, 2a77dff86abf

Browse the files at this changeset

7 files changed

modified README.md +12 −12
@@ -26,15 +26,15 @@
2626 * Works with any cluster size
2727 * [Query builder][query_builder]
2828
29-[sync]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/Session.html#execute(com.datastax.driver.core.Statement)
30-[async]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/Session.html#executeAsync(com.datastax.driver.core.Statement)
31-[simple_st]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/SimpleStatement.html
32-[prepared_st]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/Session.html#prepare(com.datastax.driver.core.RegularStatement)
33-[batch_st]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/BatchStatement.html
29+[sync]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Session.html#execute(com.datastax.driver.core.Statement)
30+[async]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Session.html#executeAsync(com.datastax.driver.core.Statement)
31+[simple_st]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/SimpleStatement.html
32+[prepared_st]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Session.html#prepare(com.datastax.driver.core.RegularStatement)
33+[batch_st]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/BatchStatement.html
3434 [pool]: features/pooling/
35-[lbp]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/LoadBalancingPolicy.html
36-[retry_policy]: http://datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/RetryPolicy.html
37-[query_builder]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/querybuilder/QueryBuilder.html
35+[lbp]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/LoadBalancingPolicy.html
36+[retry_policy]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/RetryPolicy.html
37+[query_builder]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/querybuilder/QueryBuilder.html
3838
3939 The driver architecture is based on layers. At the bottom lies the driver core.
4040 This core handles everything related to the connections to a Cassandra
@@ -57,8 +57,8 @@
5757 - MAILING LIST: https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user
5858 - IRC: #datastax-drivers on [irc.freenode.net](http://freenode.net)
5959 - TWITTER: Follow the latest news about DataStax Drivers - [@olim7t](http://twitter.com/olim7t), [@mfiguiere](http://twitter.com/mfiguiere)
60-- DOCS: http://www.datastax.com/documentation/developer/java-driver/2.0/index.html
61-- API: http://www.datastax.com/drivers/java/2.0
60+- DOCS: http://docs.datastax.com/en/developer/java-driver/2.0/java-driver/whatsNew2.html
61+- API: http://docs.datastax.com/en/drivers/java/2.0
6262 - CHANGELOG: https://github.com/datastax/java-driver/blob/2.0/driver-core/CHANGELOG.rst
6363
6464 ## What's new in 2.0.10
@@ -102,8 +102,8 @@
102102 The Java client driver 2.0 ([branch 2.0](https://github.com/datastax/java-driver/tree/2.0)) is compatible with Apache
103103 Cassandra 1.2 and 2.0, but some features are available only when using Apache Cassandra 2.0 (e.g. result set paging,
104104 [BatchStatement](https://github.com/datastax/java-driver/blob/2.0/driver-core/src/main/java/com/datastax/driver/core/BatchStatement.java),
105-[lightweight transactions](http://www.datastax.com/documentation/cql/3.1/cql/cql_using/use_ltweight_transaction_t.html)
106--- see [What's new in Cassandra 2.0](http://www.datastax.com/documentation/cassandra/2.0/cassandra/features/features_key_c.html)).
105+[lightweight transactions](http://docs.datastax.com/en/cql/3.1/cql/cql_using/use_ltweight_transaction_t.html)
106+-- see [What's new in Cassandra 2.0](http://docs.datastax.com/en/cassandra/2.0/cassandra/features/features_key_c.html)).
107107 Trying to use these with a cluster running Cassandra 1.2 will result in
108108 an [UnsupportedFeatureException](https://github.com/datastax/java-driver/blob/2.0/driver-core/src/main/java/com/datastax/driver/core/exceptions/UnsupportedFeatureException.java) being thrown.
109109
modified driver-core/README.rst +1 −1
@@ -96,5 +96,5 @@
9696 would use this host to discover the other ones and use the whole cluster
9797 automatically. This is also true for new nodes joining the cluster.
9898
99-For now, please refer to the API reference (http://www.datastax.com/drivers/java/apidocs/).
99+For now, please refer to the API reference (http://docs.datastax.com/en/drivers/java/2.0).
100100 More informations and documentation will come later.
modified features/README.md +1 −1
@@ -13,5 +13,5 @@
1313 features or document new ones.
1414
1515 You can also find more help in the legacy
16-[user documentation](http://www.datastax.com/documentation/developer/java-driver/2.0/java-driver/whatsNew2.html)
16+[user documentation](http://docs.datastax.com/en/developer/java-driver/2.0/java-driver/whatsNew2.html)
1717 on the DataStax website.
modified features/address_resolution/README.md +3 −3
@@ -38,8 +38,8 @@
3838 reasons, the `close()` method will be merged in `AddressTranslater` in a
3939 future release.
4040
41-[at]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/AddressTranslater.html
42-[cat]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/CloseableAddressTranslater.html
41+[at]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/AddressTranslater.html
42+[cat]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/CloseableAddressTranslater.html
4343
4444 ### EC2 multi-region
4545
@@ -64,4 +64,4 @@
6464 target instance. Then it performs a forward DNS lookup of the domain name; the EC2 DNS does the
6565 private/public switch automatically based on location.
6666
67-[ec2]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/EC2MultiRegionAddressTranslater.html
67+[ec2]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/EC2MultiRegionAddressTranslater.html
modified features/metadata/README.md +17 −17
@@ -4,7 +4,7 @@
44 is connected to. It is available via
55 [Cluster#getMetadata()][getMetadata].
66
7-[getMetadata]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Cluster.html#getMetadata()
7+[getMetadata]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Cluster.html#getMetadata()
88
99 ### Schema metadata
1010
@@ -12,8 +12,8 @@
1212 to get keyspace-level metadata. From there you can access the keyspace's
1313 objects (tables, and UDTs and UDFs if relevant).
1414
15-[getKeyspace]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getKeyspace(java.lang.String)
16-[getKeyspaces]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getKeyspaces()
15+[getKeyspace]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getKeyspace(java.lang.String)
16+[getKeyspaces]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getKeyspaces()
1717
1818 #### Refreshes
1919
@@ -112,9 +112,9 @@
112112
113113 Check out the API docs for the features in this section:
114114
115-* [withMaxSchemaAgreementWaitSeconds(int)](http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Cluster.Builder.html#withMaxSchemaAgreementWaitSeconds(int))
116-* [isSchemaInAgreement()](http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/ExecutionInfo.html#isSchemaInAgreement())
117-* [checkSchemaAgreement()](http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#checkSchemaAgreement())
115+* [withMaxSchemaAgreementWaitSeconds(int)](http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Cluster.Builder.html#withMaxSchemaAgreementWaitSeconds(int))
116+* [isSchemaInAgreement()](http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/ExecutionInfo.html#isSchemaInAgreement())
117+* [checkSchemaAgreement()](http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#checkSchemaAgreement())
118118
119119
120120 ### Token metadata
@@ -158,14 +158,14 @@
158158 table (see
159159 [CASSANDRA-7688](https://issues.apache.org/jira/browse/CASSANDRA-7688)).
160160
161-[metadata]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html
162-[getTokenRanges]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getTokenRanges()
163-[getTokenRanges2]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getTokenRanges(java.lang.String,%20com.datastax.driver.core.Host)
164-[getReplicas]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getReplicas(java.lang.String,%20com.datastax.driver.core.TokenRange)
165-[newToken]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#newToken(java.lang.String)
166-[newTokenRange]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metadata.html#newTokenRange(com.datastax.driver.core.Token,%20com.datastax.driver.core.Token)
167-[TokenRange]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/TokenRange.html
168-[getTokens]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Host.html#getTokens()
169-[setToken]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/BoundStatement.html#setToken(int,%20com.datastax.driver.core.Token)
170-[getToken]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Row.html#getToken(int)
171-[getPKToken]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Row.html#getPartitionKeyToken()
161+[metadata]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html
162+[getTokenRanges]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getTokenRanges()
163+[getTokenRanges2]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getTokenRanges(java.lang.String,%20com.datastax.driver.core.Host)
164+[getReplicas]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#getReplicas(java.lang.String,%20com.datastax.driver.core.TokenRange)
165+[newToken]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#newToken(java.lang.String)
166+[newTokenRange]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metadata.html#newTokenRange(com.datastax.driver.core.Token,%20com.datastax.driver.core.Token)
167+[TokenRange]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/TokenRange.html
168+[getTokens]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Host.html#getTokens()
169+[setToken]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/BoundStatement.html#setToken(int,%20com.datastax.driver.core.Token)
170+[getToken]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Row.html#getToken(int)
171+[getPKToken]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Row.html#getPartitionKeyToken()
modified features/pooling/README.md +5 −5
@@ -180,8 +180,8 @@
180180 [pooling_options]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/PoolingOptions.html
181181 [lbp]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/LoadBalancingPolicy.html
182182 [msrpct]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/PoolingOptions.html#setMaxSimultaneousRequestsPerConnectionThreshold(com.datastax.driver.core.HostDistance,%20int)
183-[rtm]:http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/SocketOptions.html#getReadTimeoutMillis()
184-[exec_async]:http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Session.html#executeAsync(com.datastax.driver.core.Statement)
185-[ptm]:http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/PoolingOptions.html#setPoolTimeoutMillis(int)
186-[nhae]:http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/exceptions/NoHostAvailableException.html
187-[get_state]:http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Session.html#getState()
No newline at the end of the file
183+[rtm]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/SocketOptions.html#getReadTimeoutMillis()
184+[exec_async]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Session.html#executeAsync(com.datastax.driver.core.Statement)
185+[ptm]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/PoolingOptions.html#setPoolTimeoutMillis(int)
186+[nhae]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/exceptions/NoHostAvailableException.html
187+[get_state]:http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Session.html#getState()
No newline at the end of the file
modified features/speculative_execution/README.md +11 −11
@@ -106,8 +106,8 @@
106106 cluster.getConfiguration().getQueryOptions().setDefaultIdempotence(true);
107107 ```
108108
109-[isIdempotent]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Statement.html#isIdempotent()
110-[QueryBuilder]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/querybuilder/QueryBuilder.html
109+[isIdempotent]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Statement.html#isIdempotent()
110+[QueryBuilder]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/querybuilder/QueryBuilder.html
111111
112112 ### Enabling speculative executions
113113
@@ -116,7 +116,7 @@
116116 `Cluster`. This policy defines the threshold after which a new
117117 speculative execution will be triggered.
118118
119-[sep]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/SpeculativeExecutionPolicy.html
119+[sep]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/SpeculativeExecutionPolicy.html
120120
121121 Two implementations are provided with the driver:
122122
@@ -144,7 +144,7 @@
144144 * if no response has been received at t0 + 1000 milliseconds, start
145145 another speculative execution on a third node.
146146
147-[csep]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/ConstantSpeculativeExecutionPolicy.html
147+[csep]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/ConstantSpeculativeExecutionPolicy.html
148148
149149 #### [PercentileSpeculativeExecutionPolicy][psep]
150150
@@ -205,9 +205,9 @@
205205 logger (see the [Logging](../logging/) section). In that case, you would
206206 create a single tracker object and share it with both components.
207207
208-[psep]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/PercentileSpeculativeExecutionPolicy.html
208+[psep]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/PercentileSpeculativeExecutionPolicy.html
209209 [hdr]: http://hdrhistogram.github.io/HdrHistogram/
210-[phpt]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/PerHostPercentileTracker.html
210+[phpt]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/PerHostPercentileTracker.html
211211
212212 #### Using your own
213213
@@ -261,7 +261,7 @@
261261 The only impact is that all executions of the same query always share
262262 the same query plan, so each host will be used by at most one execution.
263263
264-[retry_policy]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/policies/RetryPolicy.html
264+[retry_policy]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/policies/RetryPolicy.html
265265
266266 ### Tuning and practical details
267267
@@ -276,8 +276,8 @@
276276 It should only be a few percents of the total number of requests
277277 ([cluster.getMetrics().getRequestsTimer().getCount()][request_metric]).
278278
279-[se_metric]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metrics.Errors.html#getSpeculativeExecutions()
280-[request_metric]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Metrics.html#getRequestsTimer()
279+[se_metric]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metrics.Errors.html#getSpeculativeExecutions()
280+[request_metric]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Metrics.html#getRequestsTimer()
281281
282282 #### Stream id exhaustion
283283
@@ -306,8 +306,8 @@
306306 using, you can check with
307307 [cluster.getConfiguration().getProtocolOptions().getProtocolVersion()][protocol_version].
308308
309-[session_state]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/Session.State.html
310-[protocol_version]: http://www.datastax.com/drivers/java/2.0/com/datastax/driver/core/ProtocolOptions.html#getProtocolVersion()
309+[session_state]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/Session.State.html
310+[protocol_version]: http://docs.datastax.com/en/drivers/java/2.0/com/datastax/driver/core/ProtocolOptions.html#getProtocolVersion()
311311
312312 #### Request ordering and client timestamps
313313