kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | d16418a5757a9b0ba8aa8f38f99e1422198863ee6673089bca2166ab4b41e73c |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2016-01-29 16:28 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-03-31 16:36 +02:00 |
| Parents | 2e049524e190 |
1 file changed
modified manual/pooling/README.md +4 −3
| @@ -19,9 +19,10 @@ | ||
| 19 | 19 | trigger a callback that will complete the corresponding query (this is |
| 20 | 20 | the point where your `ResultSetFuture` will get completed). |
| 21 | 21 | |
| 22 | -To increase the number of concurrent requests, we use a pool of | |
| 23 | -connections to each host. **For each `Session` object, there is one | |
| 24 | -connection pool per connected host**. | |
| 22 | +You don't need to manage connections yourself. You simply interact with a `Session` object, which takes care of it. | |
| 23 | + | |
| 24 | +**For each `Session`, there is one connection pool per connected host** (a host is connected when it is up and | |
| 25 | +not ignored by the [load balancing policy](../load_balancing)). | |
| 25 | 26 | |
| 26 | 27 | The number of connections per pool is configurable (this will be |
| 27 | 28 | described in the next section). The number of stream ids depends on the |