cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cassandra Wiki] Update of "Embedding" by JonathanEllis
Date Mon, 21 Dec 2009 18:36:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "Embedding" page has been changed by JonathanEllis.


New page:
You can run a Cassandra node internal to your own JVM-based code easily.  Here's what CassandraDaemon

        // initialize keyspaces
        for (String table : Table.getAllTableNames())
            if (logger.isDebugEnabled())
                logger.debug("opening keyspace " + table);
            Table tbl =;

        // replay the log if necessary

        // start server internals

Then you can use the internal StorageProxy API without going through Thrift.

View raw message