
systems.composable.dropwizard.cassandra.speculativeexecution.NoSpeculativeExecutionPolicyFactory 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.speculativeexecution;
import com.datastax.driver.core.policies.NoSpeculativeExecutionPolicy;
import com.datastax.driver.core.policies.SpeculativeExecutionPolicy;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* A factory for configuring and building {@link NoSpeculativeExecutionPolicy} instances.
*
* Configuration Parameters:
*
*
* Name
* Default
* Description
*
*
* No configuration options available.
*
*
*/
@JsonTypeName("none")
public class NoSpeculativeExecutionPolicyFactory implements SpeculativeExecutionPolicyFactory {
@Override
public SpeculativeExecutionPolicy build() {
return NoSpeculativeExecutionPolicy.INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy