
systems.composable.dropwizard.cassandra.loadbalancing.RoundRobinPolicyFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-cassandra Show documentation
Show all versions of dropwizard-cassandra Show documentation
Cassandra library for Dropwizard
package systems.composable.dropwizard.cassandra.loadbalancing;
import com.datastax.driver.core.policies.LoadBalancingPolicy;
import com.datastax.driver.core.policies.RoundRobinPolicy;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* A factory for configuring and building {@link com.datastax.driver.core.policies.RoundRobinPolicy} instances.
*
* Configuration Parameters:
*
*
* Name
* Default
* Description
*
*
* No configuration options available.
*
*
*/
@JsonTypeName("roundRobin")
public class RoundRobinPolicyFactory implements LoadBalancingPolicyFactory {
@Override
public LoadBalancingPolicy build() {
return new RoundRobinPolicy();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy