MCPcopy Create free account
hub / github.com/apache/impala / Wait

Method Wait

be/src/kudu/rpc/reactor.cc:827–830  ·  view source on GitHub ↗

Wait until the function has completed, and return the Status returned by the function.

Source from the content-addressed store, hash-verified

825 // Wait until the function has completed, and return the Status
826 // returned by the function.
827 Status Wait() {
828 latch_.Wait();
829 return status_;
830 }
831
832 private:
833 const std::function<Status()> function_;

Callers 9

TEST_FFunction · 0.45
BlockingGetMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
SendAndCancelRpcsFunction · 0.45
SleepAndSendMethod · 0.45
TEST_FFunction · 0.45
RunOnReactorThreadMethod · 0.45

Calls

no outgoing calls

Tested by 6

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
SendAndCancelRpcsFunction · 0.36
SleepAndSendMethod · 0.36
TEST_FFunction · 0.36