public class NewtsInstance
extends org.junit.rules.ExternalResource
| Constructor and Description |
|---|
NewtsInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
org.opennms.newts.cassandra.CassandraSession |
getCassandraSession() |
String |
getCompression() |
static org.cassandraunit.dataset.CQLDataSet |
getDataSet(String keyspace,
int replicationFactor) |
String |
getHost() |
String |
getKeyspace() |
String |
getPassword() |
int |
getPort() |
String |
getUsername() |
public void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowablepublic void after()
after in class org.junit.rules.ExternalResourcepublic org.opennms.newts.cassandra.CassandraSession getCassandraSession()
public static org.cassandraunit.dataset.CQLDataSet getDataSet(String keyspace, int replicationFactor)
public String getHost()
public int getPort()
public String getCompression()
public String getKeyspace()
public String getUsername()
public String getPassword()
Copyright © 2018. All rights reserved.