Class EmbeddedCassandraService

java.lang.Object
org.apache.cassandra.service.EmbeddedCassandraService

public class EmbeddedCassandraService extends Object
An embedded, in-memory cassandra storage service. This kind of service is useful when running unit tests of services using cassandra for example. See org.apache.cassandra.service.EmbeddedCassandraServiceTest for usage.

This is the implementation of https://issues.apache.org/jira/browse/CASSANDRA-740

How to use: In the client code simply create a new EmbeddedCassandraService and start it. Example:


        cassandra = new EmbeddedCassandraService();
        cassandra.start();

 
  • Constructor Details

    • EmbeddedCassandraService

      public EmbeddedCassandraService()
  • Method Details