@Configuration public class CassandraPoolConfiguration extends Object
Constructor and Description |
---|
CassandraPoolConfiguration() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCoreConnectionsPerHost() |
Integer |
getMaxConnectionsPerHost() |
Integer |
getMaxRequestsPerConnection() |
@Bean(name="cassandra.pool.core-connections-per-host") public Integer getCoreConnectionsPerHost()
@Bean(name="cassandra.pool.max-connections-per-host") public Integer getMaxConnectionsPerHost()
@Bean(name="cassandra.pool.max-requests-per-connection") public Integer getMaxRequestsPerConnection()
Copyright © 2021. All rights reserved.