Interface ICassandraSettings

All Known Implementing Classes:
CassandraSettings

public interface ICassandraSettings
Settings for CassandraDataStore
  • Method Details

    • setKeyspaceName

      ICassandraSettings setKeyspaceName(String keyspaceName)
      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

      ICassandraSettings setTableName(String tableName)
      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

      ICassandraSettings setRecordTtl(Duration ttl)
      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

      List<String> getContactPoints()
      Returns:
      A list of contact points (hostname:port) to contact to.