Class CassandraPoolConfiguration


  • @Configuration
    public class CassandraPoolConfiguration
    extends java.lang.Object
    Loads the Cassandra pool configuration from system properties and exposes these as named beans. Uses a value of null if no system property is set (which allows the driver to use it's own defaults.)
    • Constructor Detail

      • CassandraPoolConfiguration

        public CassandraPoolConfiguration()
    • Method Detail

      • getCoreConnectionsPerHost

        @Bean(name="cassandra.pool.core-connections-per-host")
        public java.lang.Integer getCoreConnectionsPerHost()
      • getMaxConnectionsPerHost

        @Bean(name="cassandra.pool.max-connections-per-host")
        public java.lang.Integer getMaxConnectionsPerHost()
      • getMaxRequestsPerConnection

        @Bean(name="cassandra.pool.max-requests-per-connection")
        public java.lang.Integer getMaxRequestsPerConnection()