MCPcopy Create free account
hub / github.com/apache/trafficserver / save

Method save

include/shared/rpc/MessageStorage.h:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void
50 save(size_t n)
51 {
52 _bw.commit(n);
53
54 if (_bw.remaining() == 0) { // no more space available, flush what's on the bw
55 // and reset it.
56 flush();
57 }
58 }
59
60 size_t
61 available() const

Callers 2

read_allMethod · 0.80
read_allMethod · 0.80

Calls 2

commitMethod · 0.45
remainingMethod · 0.45

Tested by

no test coverage detected