public class CassandraSettings extends Object implements ICassandraSettings
ICassandraSettings
Constructor and Description |
---|
CassandraSettings() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getContactPoints() |
String |
getKeyspaceName() |
org.apache.wicket.util.time.Duration |
getRecordTtl() |
String |
getTableName() |
ICassandraSettings |
setKeyspaceName(String keyspaceName)
Sets the name of the keyspace where the data will be saved
|
ICassandraSettings |
setRecordTtl(org.apache.wicket.util.time.Duration ttl)
Sets the time to live for the records in the table
|
ICassandraSettings |
setTableName(String tableName)
Sets the name of the table where the data will be saved
|
public ICassandraSettings setKeyspaceName(String keyspaceName)
ICassandraSettings
setKeyspaceName
in interface ICassandraSettings
keyspaceName
- The name of the keyspacepublic String getKeyspaceName()
getKeyspaceName
in interface ICassandraSettings
public ICassandraSettings setTableName(String tableName)
ICassandraSettings
setTableName
in interface ICassandraSettings
tableName
- The name of the tablepublic String getTableName()
getTableName
in interface ICassandraSettings
public ICassandraSettings setRecordTtl(org.apache.wicket.util.time.Duration ttl)
ICassandraSettings
setRecordTtl
in interface ICassandraSettings
ttl
- The time to live for the records in the tablepublic org.apache.wicket.util.time.Duration getRecordTtl()
getRecordTtl
in interface ICassandraSettings
public List<String> getContactPoints()
getContactPoints
in interface ICassandraSettings
Copyright © 2015. All rights reserved.