code: @Override
      public void stop()
      {
          // On linux, this doesn't entirely shut down Cassandra, just the RPC server.
          // jsvc takes care of taking the rest down
          logger.info("Cassandra shutting down...");
          if (nativeTransportService != null)
              nativeTransportService.destroy();
          StorageService.instance.setRpcReady(false);
  
          // On windows, we need to stop the entire system as prunsrv doesn't have the jsvc hooks
          // We rely on the shutdown hook to drain the node
          if (FBUtilities.isWindows)
              System.exit(0);
      }
docs: Stop the daemon, ideally in an idempotent manner.
  
  Hook for JSVC / Procrun