public class SimulacronRule extends CassandraResourceRule
| Modifier and Type | Field and Description |
|---|---|
static com.datastax.oss.simulacron.server.Server |
server |
| Constructor and Description |
|---|
SimulacronRule(com.datastax.oss.simulacron.common.cluster.ClusterSpec.Builder clusterSpec) |
SimulacronRule(com.datastax.oss.simulacron.common.cluster.ClusterSpec clusterSpec) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
com.datastax.oss.simulacron.server.BoundCluster |
cluster()
Convenient fluent name for getting at bound cluster.
|
com.datastax.oss.simulacron.server.BoundCluster |
getBoundCluster() |
Set<com.datastax.oss.driver.api.core.metadata.EndPoint> |
getContactPoints() |
com.datastax.oss.driver.api.core.ProtocolVersion |
getHighestProtocolVersion() |
setUppublic SimulacronRule(com.datastax.oss.simulacron.common.cluster.ClusterSpec clusterSpec)
public SimulacronRule(com.datastax.oss.simulacron.common.cluster.ClusterSpec.Builder clusterSpec)
public com.datastax.oss.simulacron.server.BoundCluster cluster()
public com.datastax.oss.simulacron.server.BoundCluster getBoundCluster()
protected void before()
before in class org.junit.rules.ExternalResourceprotected void after()
after in class org.junit.rules.ExternalResourcepublic Set<com.datastax.oss.driver.api.core.metadata.EndPoint> getContactPoints()
getContactPoints in class CassandraResourceRulepublic com.datastax.oss.driver.api.core.ProtocolVersion getHighestProtocolVersion()
getHighestProtocolVersion in class CassandraResourceRuleCopyright © 2017–2023. All rights reserved.