org.cassandraunit.spring.EmbeddedCassandra Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cassandra-unit-spring Show documentation
Show all versions of cassandra-unit-spring Show documentation
Spring Test framework to develop with Cassandra
The newest version!
package org.cassandraunit.spring;
import org.cassandraunit.utils.EmbeddedCassandraServerHelper;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to start an embedded Cassandra
*
* @author Olivier Bazoud
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
@Documented
public @interface EmbeddedCassandra {
// cassandra configuration file
String configuration() default EmbeddedCassandraServerHelper.DEFAULT_CASSANDRA_YML_FILE;
String tmpDir() default EmbeddedCassandraServerHelper.DEFAULT_TMP_DIR;
long timeout() default EmbeddedCassandraServerHelper.DEFAULT_STARTUP_TIMEOUT;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy