/** * 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); } }
/** * 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 */ public void destroy() { super.destroy(); if (node != null) { try { node.close(); } catch (IOException e) { throw new RuntimeException(e); } } if (keepAliveLatch != null) keepAliveLatch.countDown(); }