@ConfigurationProperties(prefix="spring.data.cassandra") public class CassandraProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CassandraProperties.Pool
Pool properties.
|
Constructor and Description |
---|
CassandraProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName() |
com.datastax.driver.core.ProtocolOptions.Compression |
getCompression() |
Duration |
getConnectTimeout() |
com.datastax.driver.core.ConsistencyLevel |
getConsistencyLevel() |
List<String> |
getContactPoints() |
int |
getFetchSize() |
String |
getKeyspaceName() |
Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> |
getLoadBalancingPolicy()
Deprecated.
|
String |
getPassword() |
CassandraProperties.Pool |
getPool() |
int |
getPort() |
Duration |
getReadTimeout() |
Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> |
getReconnectionPolicy()
Deprecated.
|
Class<? extends com.datastax.driver.core.policies.RetryPolicy> |
getRetryPolicy()
Deprecated.
|
String |
getSchemaAction() |
com.datastax.driver.core.ConsistencyLevel |
getSerialConsistencyLevel() |
String |
getUsername() |
boolean |
isJmxEnabled() |
boolean |
isSsl() |
void |
setClusterName(String clusterName) |
void |
setCompression(com.datastax.driver.core.ProtocolOptions.Compression compression) |
void |
setConnectTimeout(Duration connectTimeout) |
void |
setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel consistency) |
void |
setFetchSize(int fetchSize) |
void |
setJmxEnabled(boolean jmxEnabled) |
void |
setKeyspaceName(String keyspaceName) |
void |
setLoadBalancingPolicy(Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> loadBalancingPolicy)
Deprecated.
|
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setReadTimeout(Duration readTimeout) |
void |
setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy)
Deprecated.
|
void |
setRetryPolicy(Class<? extends com.datastax.driver.core.policies.RetryPolicy> retryPolicy)
Deprecated.
|
void |
setSchemaAction(String schemaAction) |
void |
setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel serialConsistency) |
void |
setSsl(boolean ssl) |
void |
setUsername(String username) |
public String getKeyspaceName()
public void setKeyspaceName(String keyspaceName)
public String getClusterName()
public void setClusterName(String clusterName)
public int getPort()
public void setPort(int port)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public com.datastax.driver.core.ProtocolOptions.Compression getCompression()
public void setCompression(com.datastax.driver.core.ProtocolOptions.Compression compression)
@DeprecatedConfigurationProperty(reason="Implement a ClusterBuilderCustomizer bean instead.") @Deprecated public Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> getLoadBalancingPolicy()
@Deprecated public void setLoadBalancingPolicy(Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> loadBalancingPolicy)
public com.datastax.driver.core.ConsistencyLevel getConsistencyLevel()
public void setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel consistency)
public com.datastax.driver.core.ConsistencyLevel getSerialConsistencyLevel()
public void setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel serialConsistency)
public int getFetchSize()
public void setFetchSize(int fetchSize)
@DeprecatedConfigurationProperty(reason="Implement a ClusterBuilderCustomizer bean instead.") @Deprecated public Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> getReconnectionPolicy()
@Deprecated public void setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy)
@DeprecatedConfigurationProperty(reason="Implement a ClusterBuilderCustomizer bean instead.") @Deprecated public Class<? extends com.datastax.driver.core.policies.RetryPolicy> getRetryPolicy()
@Deprecated public void setRetryPolicy(Class<? extends com.datastax.driver.core.policies.RetryPolicy> retryPolicy)
public Duration getConnectTimeout()
public void setConnectTimeout(Duration connectTimeout)
public Duration getReadTimeout()
public void setReadTimeout(Duration readTimeout)
public boolean isSsl()
public void setSsl(boolean ssl)
public boolean isJmxEnabled()
public void setJmxEnabled(boolean jmxEnabled)
public String getSchemaAction()
public void setSchemaAction(String schemaAction)
public CassandraProperties.Pool getPool()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.