public class CassandraHostConfiguration extends HostConfiguration
connectionProperties, externalProperties, hostsList, persistenceUnitMetadata, retryDelay| Constructor and Description |
|---|
CassandraHostConfiguration(Map externalProperties,
CassandraPropertyReader.CassandraSchemaMetadata csmd,
String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildHosts(List<ClientProperties.DataStore.Connection.Server> servers,
List<Host> hostsList) |
protected void |
buildHosts(String hosts,
String portAsString,
List<Host> hostsList) |
CassandraHost |
getCassandraHost(String host,
int port) |
List<Host> |
getCassandraHosts() |
int |
getRetryDelay() |
protected void |
setConfig(Host host,
Properties props,
Map externalProperties) |
getHosts, onValidationpublic CassandraHostConfiguration(Map externalProperties, CassandraPropertyReader.CassandraSchemaMetadata csmd, String persistenceUnit, EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
protected void buildHosts(List<ClientProperties.DataStore.Connection.Server> servers, List<Host> hostsList)
buildHosts in class HostConfigurationprotected void buildHosts(String hosts, String portAsString, List<Host> hostsList)
buildHosts in class HostConfigurationprotected void setConfig(Host host, Properties props, Map externalProperties)
setConfig in class HostConfigurationpublic int getRetryDelay()
public CassandraHost getCassandraHost(String host, int port)
host - port - Copyright © 2016. All Rights Reserved.