@PreDestroy public void stop() { cassandra.stop(); }
/** * stop the embedded cassandra */ public void stopEmbeddedCassandra() { if (cassandraDaemon != null) { cassandraDaemon.stop(); } executor.shutdown(); executor.shutdownNow(); log.debug("Cassandra is stopped"); }
/** * stop the embedded cassandra */ public void stopEmbeddedCassandra() { if (cassandraDaemon != null) { cassandraDaemon.stop(); } executor.shutdown(); executor.shutdownNow(); log.debug("Cassandra is stopped"); }
/** * A convenience method to stop and destroy the daemon in one shot. */ public void deactivate() { stop(); destroy(); // completely shut down cassandra if(!runManaged) { System.exit(0); } }
/** * hook for JSVC */ @Override public void stop() { super.stop(); if (node != null) node.stop(); }
/** * A convenience method to stop and destroy the daemon in one shot. */ public void deactivate() { stop(); destroy(); }
/** * A convenience method to stop and destroy the daemon in one shot. */ public void deactivate() { stop(); destroy(); // completely shut down cassandra if(!runManaged) { System.exit(0); } }
/** * A convenience method to stop and destroy the daemon in one shot. */ public void deactivate() { stop(); destroy(); // completely shut down cassandra if(!runManaged) { System.exit(0); } }