org.springframework.boot.autoconfigure.cassandra

Class CassandraProperties

  • java.lang.Object
    • org.springframework.boot.autoconfigure.cassandra.CassandraProperties


  • @ConfigurationProperties(prefix="spring.data.cassandra")
    public class CassandraProperties
    extends Object
    Configuration properties for Cassandra.
    Since:
    1.3.0
    Author:
    Julien Dubois, Phillip Webb, Mark Paluch, Stephane Nicoll
    • Constructor Detail

      • CassandraProperties

        public CassandraProperties()
    • Method Detail

      • getKeyspaceName

        public String getKeyspaceName()
      • setKeyspaceName

        public void setKeyspaceName(String keyspaceName)
      • getClusterName

        public String getClusterName()
      • setClusterName

        public void setClusterName(String clusterName)
      • getContactPoints

        public List<String> getContactPoints()
      • getPort

        public int getPort()
      • setPort

        public void setPort(int port)
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername(String username)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword(String password)
      • getCompression

        public com.datastax.driver.core.ProtocolOptions.Compression getCompression()
      • setCompression

        public void setCompression(com.datastax.driver.core.ProtocolOptions.Compression compression)
      • getLoadBalancingPolicy

        public Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> getLoadBalancingPolicy()
      • setLoadBalancingPolicy

        public void setLoadBalancingPolicy(Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> loadBalancingPolicy)
      • getConsistencyLevel

        public com.datastax.driver.core.ConsistencyLevel getConsistencyLevel()
      • setConsistencyLevel

        public void setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel consistency)
      • getSerialConsistencyLevel

        public com.datastax.driver.core.ConsistencyLevel getSerialConsistencyLevel()
      • setSerialConsistencyLevel

        public void setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel serialConsistency)
      • getFetchSize

        public int getFetchSize()
      • setFetchSize

        public void setFetchSize(int fetchSize)
      • getReconnectionPolicy

        public Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> getReconnectionPolicy()
      • setReconnectionPolicy

        public void setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy)
      • getRetryPolicy

        public Class<? extends com.datastax.driver.core.policies.RetryPolicy> getRetryPolicy()
      • setRetryPolicy

        public void setRetryPolicy(Class<? extends com.datastax.driver.core.policies.RetryPolicy> retryPolicy)
      • getConnectTimeout

        public Duration getConnectTimeout()
      • setConnectTimeout

        public void setConnectTimeout(Duration connectTimeout)
      • getReadTimeout

        public Duration getReadTimeout()
      • setReadTimeout

        public void setReadTimeout(Duration readTimeout)
      • isSsl

        public boolean isSsl()
      • setSsl

        public void setSsl(boolean ssl)
      • getSchemaAction

        public String getSchemaAction()
      • setSchemaAction

        public void setSchemaAction(String schemaAction)