diff --git a/service/storage_service.cc b/service/storage_service.cc index fe747dc64e..3e0d27c7a3 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -1228,4 +1228,15 @@ future<> storage_service::stop_rpc_server() { return make_ready_future<>(); } +bool storage_service::is_rpc_server_running() { +#if 0 + if ((daemon == null) || (daemon.thriftServer == null)) + { + return false; + } + return daemon.thriftServer.isRunning(); +#endif + return true; +} + } // namespace service diff --git a/service/storage_service.hh b/service/storage_service.hh index 3caa7cacb2..64ecda005d 100644 --- a/service/storage_service.hh +++ b/service/storage_service.hh @@ -205,16 +205,9 @@ public: future<> stop_rpc_server(); -#if 0 - public boolean isRPCServerRunning() - { - if ((daemon == null) || (daemon.thriftServer == null)) - { - return false; - } - return daemon.thriftServer.isRunning(); - } + bool is_rpc_server_running(); +#if 0 public void startNativeTransport() { if (daemon == null)