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)
ICassandraSettingssetKeyspaceName in interface ICassandraSettingskeyspaceName - The name of the keyspacepublic String getKeyspaceName()
getKeyspaceName in interface ICassandraSettingspublic ICassandraSettings setTableName(String tableName)
ICassandraSettingssetTableName in interface ICassandraSettingstableName - The name of the tablepublic String getTableName()
getTableName in interface ICassandraSettingspublic ICassandraSettings setRecordTtl(org.apache.wicket.util.time.Duration ttl)
ICassandraSettingssetRecordTtl in interface ICassandraSettingsttl - The time to live for the records in the tablepublic org.apache.wicket.util.time.Duration getRecordTtl()
getRecordTtl in interface ICassandraSettingspublic List<String> getContactPoints()
getContactPoints in interface ICassandraSettingsCopyright © 2015. All rights reserved.