MCPcopy Create free account
hub / github.com/bytedance/bolt / enqueue

Method enqueue

bolt/exec/tests/ExchangeClientTest.cpp:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 int32_t enqueue(
90 const std::string& taskId,
91 int32_t destination,
92 const RowVectorPtr& data) {
93 auto page = toSerializedPage(data);
94 const auto pageSize = page->size();
95 ContinueFuture unused;
96 auto blocked =
97 bufferManager_->enqueue(taskId, destination, std::move(page), &unused);
98 BOLT_CHECK(!blocked);
99 return pageSize;
100 }
101
102 void fetchPages(ExchangeClient& client, int32_t numPages) {
103 for (auto i = 0; i < numPages; ++i) {

Callers

nothing calls this directly

Calls 3

enqueueLockedMethod · 0.80
sizeMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected