MCPcopy Create free account
hub / github.com/baidu/tera / TryWrite

Method TryWrite

src/quota/ts_write_flow_controller.h:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 void ResetSlowdownMode();
26
27 bool TryWrite(uint64_t size) { return flow_controller_.TryConsume(size); }
28
29 bool InSlowdownMode() { return flow_controller_.InFlowControlMode(); }
30

Callers 2

TESTFunction · 0.80
WriteTabletMethod · 0.80

Calls 1

TryConsumeMethod · 0.45

Tested by 1

TESTFunction · 0.64