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

Method BeforeLock

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

Callback before the pull thread start lock process.

Source from the content-addressed store, hash-verified

129
130 // Callback before the pull thread start lock process.
131 virtual void BeforeLock(const comm::proto::ConsumerContext &cc) {}
132
133 // Callback after the pull thread finished lock process.
134 virtual void AfterLock(const comm::proto::ConsumerContext &cc) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected