public class EmbeddedServerHelper extends Object
| Constructor and Description |
|---|
EmbeddedServerHelper() |
EmbeddedServerHelper(String yamlFile) |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanup() |
static void |
cleanupAndLeaveDirs() |
static void |
loadSchemaFromYaml() |
static void |
mkdirs() |
void |
setup()
Set embedded cassandra up and spawn it in a new thread.
|
static void |
teardown() |
public EmbeddedServerHelper()
public EmbeddedServerHelper(String yamlFile)
public void setup()
throws org.apache.thrift.transport.TTransportException,
IOException,
InterruptedException,
org.apache.cassandra.exceptions.ConfigurationException
org.apache.thrift.transport.TTransportExceptionIOExceptionInterruptedExceptionorg.apache.cassandra.exceptions.ConfigurationExceptionpublic static void teardown()
public static void cleanupAndLeaveDirs()
throws IOException
IOExceptionpublic static void cleanup()
throws IOException
IOExceptionpublic static void mkdirs()
public static void loadSchemaFromYaml()
Copyright © 2014. All Rights Reserved.