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

Method Shutdown

cpp/src/arrow/flight/server.cc:206–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204int FlightServerBase::GotSignal() const { return impl_->got_signal_; }
205
206Status FlightServerBase::Shutdown(const std::chrono::system_clock::time_point* deadline) {
207 auto server = impl_->transport_.get();
208 if (!server) {
209 return Status::Invalid("Shutdown() on uninitialized FlightServerBase");
210 }
211 impl_->running_instance_ = nullptr;
212 if (deadline) {
213 return impl_->transport_->Shutdown(*deadline);
214 }
215 return impl_->transport_->Shutdown();
216}
217
218Status FlightServerBase::Wait() {
219 RETURN_NOT_OK(impl_->transport_->Wait());

Callers 15

gaflight_server_shutdownFunction · 0.45
ShutdownFunction · 0.45
ShutdownMethod · 0.45
WaitForSignalsMethod · 0.45
ASSERT_OK_AND_ASSIGNFunction · 0.45
TearDownMethod · 0.45
TearDownMethod · 0.45
ASSERT_OK_AND_ASSIGNMethod · 0.45
TearDownMethod · 0.45
TearDownMethod · 0.45
TearDownMethod · 0.45
TearDownMethod · 0.45

Calls 2

InvalidFunction · 0.50
getMethod · 0.45

Tested by 15

ASSERT_OK_AND_ASSIGNFunction · 0.36
TearDownMethod · 0.36
TearDownMethod · 0.36
ASSERT_OK_AND_ASSIGNMethod · 0.36
TearDownMethod · 0.36
TearDownMethod · 0.36
TearDownMethod · 0.36
TearDownMethod · 0.36
TearDownMethod · 0.36
TearDownMethod · 0.36
TestBuilderHookMethod · 0.36
TestShutdownMethod · 0.36