mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 03:20:37 +00:00
storage_service: Stub start_native_transport
Needed by API.
This commit is contained in:
@@ -1239,4 +1239,23 @@ bool storage_service::is_rpc_server_running() {
|
||||
return true;
|
||||
}
|
||||
|
||||
future<> storage_service::start_native_transport() {
|
||||
#if 0
|
||||
if (daemon == null)
|
||||
{
|
||||
throw new IllegalStateException("No configured daemon");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
daemon.nativeServer.start();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw new RuntimeException("Error starting native transport: " + e.getMessage());
|
||||
}
|
||||
#endif
|
||||
return make_ready_future<>();
|
||||
}
|
||||
|
||||
} // namespace service
|
||||
|
||||
@@ -207,24 +207,9 @@ public:
|
||||
|
||||
bool is_rpc_server_running();
|
||||
|
||||
future<> start_native_transport();
|
||||
|
||||
#if 0
|
||||
public void startNativeTransport()
|
||||
{
|
||||
if (daemon == null)
|
||||
{
|
||||
throw new IllegalStateException("No configured daemon");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
daemon.nativeServer.start();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw new RuntimeException("Error starting native transport: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public void stopNativeTransport()
|
||||
{
|
||||
if (daemon == null)
|
||||
|
||||
Reference in New Issue
Block a user