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. http://wiki.apache.org/cassandra/Embedding -------------------------------------------------- New page: You can run a Cassandra node internal to your own JVM-based code easily. Here's what CassandraDaemon does: {{{ // initialize keyspaces for (String table : Table.getAllTableNames()) { if (logger.isDebugEnabled()) logger.debug("opening keyspace " + table); Table tbl = Table.open(table); tbl.onStart(); } // replay the log if necessary RecoveryManager.doRecovery(); // start server internals StorageService.instance().initServer(); }}} Then you can use the internal StorageProxy API without going through Thrift.
