MCPcopy Create free account
hub / github.com/Tencent/phxqueue / BeforeGet

Method BeforeGet

phxqueue/consumer/consumer.h:140–140  ·  view source on GitHub ↗

Callback before the pull thread start get items from Store.

Source from the content-addressed store, hash-verified

138
139 // Callback before the pull thread start get items from Store.
140 virtual void BeforeGet(const comm::proto::GetRequest &req) {}
141
142 // Callback after the pull thread finished get items from Store.
143 virtual void AfterGet(const comm::proto::GetRequest &req, const comm::proto::GetResponse &resp) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected