me.prettyprint.hector.testutils
Class EmbeddedServerHelper
java.lang.Object
me.prettyprint.hector.testutils.EmbeddedServerHelper
public class EmbeddedServerHelper
- extends Object
- Author:
- Ran Tavory (rantav@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedServerHelper
public EmbeddedServerHelper()
EmbeddedServerHelper
public EmbeddedServerHelper(String yamlFile)
setup
public void setup()
throws org.apache.thrift.transport.TTransportException,
IOException,
InterruptedException,
org.apache.cassandra.exceptions.ConfigurationException
- Set embedded cassandra up and spawn it in a new thread.
- Throws:
org.apache.thrift.transport.TTransportException
IOException
InterruptedException
org.apache.cassandra.exceptions.ConfigurationException
teardown
public static void teardown()
cleanupAndLeaveDirs
public static void cleanupAndLeaveDirs()
throws IOException
- Throws:
IOException
cleanup
public static void cleanup()
throws IOException
- Throws:
IOException
mkdirs
public static void mkdirs()
loadSchemaFromYaml
public static void loadSchemaFromYaml()
Copyright © 2013. All Rights Reserved.