spring-data-cassandra 如何处理连接池?
How spring-data-cassandra handle connection pooling?
你能告诉我 spring-data-cassandra 如何处理连接池吗?我是 usring spring-data-cassandra 1.5.3
在Spring Data Cassandra documentations Java Configuration section, there is an example of a Java-based configuration, which creates a CassandraClusterFactoryBean
where you can set PoolingOptions
PoolingOptions
is a class from the DataStax driver, and its usage is described in the documentation of the driver.
你能告诉我 spring-data-cassandra 如何处理连接池吗?我是 usring spring-data-cassandra 1.5.3
在Spring Data Cassandra documentations Java Configuration section, there is an example of a Java-based configuration, which creates a CassandraClusterFactoryBean
where you can set PoolingOptions
PoolingOptions
is a class from the DataStax driver, and its usage is described in the documentation of the driver.