October 2018
Beginner to intermediate
348 pages
10h
English
The DataStax Java driver abstracts managing connections through its connection pool, and by abstracting those details from the developer. However, a more finely-tuned configuration of the connection pool settings are available by creating a PoolingOptions object.
Its creation and subsequent invocation through the cluster builder are similar to the QueryOptions instantiation shown previously:
PoolingOptions po = new PoolingOptions();...Cluster.builder().withPoolingOptions(po).build();
The capabilities and default settings of the connection pool can vary greatly according to whichever version of the CQL native binary protocol is used. The following table shows a protocol version compatibility comparison refer docs ...