@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() |
String |
getPassword() |
CassandraProperties.Pool |
getPool() |
int |
getPort() |
Duration |
getReadTimeout() |
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 |
setPassword(String password) |
void |
setPort(int port) |
void |
setReadTimeout(Duration readTimeout) |
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 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 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 © 2019 Pivotal Software, Inc.. All rights reserved.