public class CassandraClusterCreator extends AbstractServiceConnectorCreator<com.datastax.driver.core.Cluster,CassandraServiceInfo>
ServiceConnectorCreator implementation to provide a Cassandra Cluster.
Allows optionally to apply a CassandraClusterConfig configuration.| Constructor and Description |
|---|
CassandraClusterCreator() |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.Cluster |
create(CassandraServiceInfo serviceInfo,
ServiceConnectorConfig serviceConnectorConfig)
Create service for the given service info and configured with the given
configuration
|
getServiceConnectorType, getServiceInfoTypepublic com.datastax.driver.core.Cluster create(CassandraServiceInfo serviceInfo, ServiceConnectorConfig serviceConnectorConfig)
ServiceConnectorCreatorserviceInfo - the ServiceInfo object containing the information necessary to connect to the serviceserviceConnectorConfig - configuration information to be applied to the connection