public static final class CassandraResourceManager.Builder extends TestContainerResourceManager.Builder<CassandraResourceManager>
CassandraResourceManager.containerImageName, containerImageTag, host, port, testId, useStaticContainer| Modifier and Type | Method and Description |
|---|---|
CassandraResourceManager |
build()
Builds and returns a Resource Manager that extends TestContainerResourceManager.
|
CassandraResourceManager.Builder |
setKeyspaceName(java.lang.String keyspaceName)
Sets the keyspace name to that of a static database instance.
|
setContainerImageName, setContainerImageTag, setHost, setPort, useStaticContainerpublic CassandraResourceManager.Builder setKeyspaceName(java.lang.String keyspaceName)
Note: if a database name is set, and a static Cassandra server is being used (useStaticContainer() is also called on the builder), then a database will be created on the static server if it does not exist, and it will not be removed when cleanupAll() is called on the CassandraResourceManager.
keyspaceName - The database name.public CassandraResourceManager build()
TestContainerResourceManager.Builderbuild in class TestContainerResourceManager.Builder<CassandraResourceManager>