mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 03:20:37 +00:00
storage_service: Stub is_rpc_server_running
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user