return writeConsistencyLevel;
}
@Override
public CassandraCacheStoreConfig adapt() {
CassandraCacheStoreConfig config = new CassandraCacheStoreConfig();
LegacyConfigurationAdaptor.adapt(this, config);
config.setAutoCreateKeyspace(autoCreateKeyspace);
config.setConfigurationPropertiesFile(configurationPropertiesFile);
config.setEntryColumnFamily(entryColumnFamily);
config.setExpirationColumnFamily(expirationColumnFamily);
config.setFramed(framed);
StringBuilder host = new StringBuilder();
for (CassandraServerConfiguration s : this.servers) {
if (host.length() > 0)
host.append(";");
host.append(s.host());
}
config.setHost(host.toString());
config.setKeyMapper(keyMapper);
config.setKeySpace(keySpace);
config.setPassword(password);
config.setReadConsistencyLevel(readConsistencyLevel);
config.setSharedKeyspace(sharedKeyspace);
config.setUsername(username);
config.setWriteConsistencyLevel(writeConsistencyLevel);
return config;
}