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