Constructor and Description |
---|
ClusterFactory() |
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.Cluster |
cassandraCluster(CassandraConfiguration cassandraConfiguration)
Creates the
Cluster bean for the given configuration. |
@EachBean(value=CassandraConfiguration.class) @Bean(preDestroy="close") public com.datastax.driver.core.Cluster cassandraCluster(CassandraConfiguration cassandraConfiguration)
Cluster
bean for the given configuration.cassandraConfiguration
- The CassandraConfiguration
objectCluster
bean