public abstract class CassandraResourceRule
extends org.junit.rules.ExternalResource
ExternalResource which provides a getContactPoints() for accessing the
contact points of the cassandra cluster.| Constructor and Description |
|---|
CassandraResourceRule() |
| Modifier and Type | Method and Description |
|---|---|
Set<com.datastax.oss.driver.api.core.metadata.EndPoint> |
getContactPoints() |
abstract com.datastax.oss.driver.api.core.ProtocolVersion |
getHighestProtocolVersion() |
void |
setUp()
Deprecated.
this method is preserved for backward compatibility only. The correct way to ensure
that a
CassandraResourceRule gets initialized before a SessionRule is to
wrap them into a RuleChain. Therefore there is no need to force the initialization
of a CassandraResourceRule explicitly anymore. |
@Deprecated public void setUp()
CassandraResourceRule gets initialized before a SessionRule is to
wrap them into a RuleChain. Therefore there is no need to force the initialization
of a CassandraResourceRule explicitly anymore.public Set<com.datastax.oss.driver.api.core.metadata.EndPoint> getContactPoints()
public abstract com.datastax.oss.driver.api.core.ProtocolVersion getHighestProtocolVersion()
Copyright © 2017–2023. All rights reserved.