MCPcopy Create free account
hub / github.com/apache/arrow / gaflight_server_shutdown

Function gaflight_server_shutdown

c_glib/arrow-flight-glib/server.cpp:1332–1337  ·  view source on GitHub ↗

* gaflight_server_shutdown: * @server: A #GAFlightServer. * @error: (nullable): Return location for a #GError or %NULL. * * Shuts down the serve. This function can be called from signal * handler or another thread. * * Returns: %TRUE on success, %FALSE on error. * * Since: 5.0.0 */

Source from the content-addressed store, hash-verified

1330 * Since: 5.0.0
1331 */
1332gboolean
1333gaflight_server_shutdown(GAFlightServer *server, GError **error)
1334{
1335 auto flight_server = gaflight_servable_get_raw(GAFLIGHT_SERVABLE(server));
1336 return garrow::check(error, flight_server->Shutdown(), "[flight-server][shutdown]");
1337}
1338
1339/**
1340 * gaflight_server_list_flights:

Callers

nothing calls this directly

Calls 3

checkFunction · 0.50
ShutdownMethod · 0.45

Tested by

no test coverage detected