Interface ICassandraSettings
- All Known Implementing Classes:
CassandraSettings
public interface ICassandraSettings
Settings for CassandraDataStore
-
Method Summary
Modifier and TypeMethodDescriptionsetKeyspaceName(String keyspaceName) Sets the name of the keyspace where the data will be savedsetRecordTtl(Duration ttl) Sets the time to live for the records in the tablesetTableName(String tableName) Sets the name of the table where the data will be saved
-
Method Details
-
setKeyspaceName
Sets the name of the keyspace where the data will be saved- Parameters:
keyspaceName- The name of the keyspace- Returns:
- this instance, for chaining
-
getKeyspaceName
String getKeyspaceName()- Returns:
- the name of the keyspace where the data will be saved
-
setTableName
Sets the name of the table where the data will be saved- Parameters:
tableName- The name of the table- Returns:
- this instance, for chaining
-
getTableName
String getTableName()- Returns:
- the name of the table where the data will be saved
-
setRecordTtl
Sets the time to live for the records in the table- Parameters:
ttl- The time to live for the records in the table- Returns:
- this instance, for chaining
-
getRecordTtl
Duration getRecordTtl()- Returns:
- the time to live for the records in the table
-
getContactPoints
- Returns:
- A list of contact points (hostname:port) to contact to.
-