@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() |
String |
getPassword() |
CassandraProperties.Pool |
getPool() |
int |
getPort() |
Duration |
getReadTimeout() |
Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> |
getReconnectionPolicy() |
Class<? extends com.datastax.driver.core.policies.RetryPolicy> |
getRetryPolicy() |
String |
getSchemaAction() |
com.datastax.driver.core.ConsistencyLevel |
getSerialConsistencyLevel() |
String |
getUsername() |
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 |
setKeyspaceName(String keyspaceName) |
void |
setLoadBalancingPolicy(Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> loadBalancingPolicy) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setReadTimeout(Duration readTimeout) |
void |
setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy) |
void |
setRetryPolicy(Class<? extends com.datastax.driver.core.policies.RetryPolicy> retryPolicy) |
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)
public Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> getLoadBalancingPolicy()
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)
public Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> getReconnectionPolicy()
public void setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy)
public Class<? extends com.datastax.driver.core.policies.RetryPolicy> getRetryPolicy()
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 String getSchemaAction()
public void setSchemaAction(String schemaAction)
public CassandraProperties.Pool getPool()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.