Package org.springframework.cassandra.config

Examples of org.springframework.cassandra.config.CassandraCqlClusterFactoryBean


public abstract class AbstractClusterConfiguration {

  @Bean
  public CassandraCqlClusterFactoryBean cluster() {

    CassandraCqlClusterFactoryBean bean = new CassandraCqlClusterFactoryBean();
    bean.setAuthProvider(getAuthProvider());
    bean.setCompressionType(getCompressionType());
    bean.setContactPoints(getContactPoints());
    bean.setKeyspaceCreations(getKeyspaceCreations());
    bean.setKeyspaceDrops(getKeyspaceDrops());
    bean.setLoadBalancingPolicy(getLoadBalancingPolicy());
    bean.setMetricsEnabled(getMetricsEnabled());
    bean.setPort(getPort());
    bean.setReconnectionPolicy(getReconnectionPolicy());
    bean.setPoolingOptions(getPoolingOptions());
    bean.setRetryPolicy(getRetryPolicy());
    bean.setShutdownScripts(getShutdownScripts());
    bean.setSocketOptions(getSocketOptions());
    bean.setStartupScripts(getStartupScripts());

    return bean;
  }
View Full Code Here

TOP

Related Classes of org.springframework.cassandra.config.CassandraCqlClusterFactoryBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.