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

Function RecSetRecordCounter

src/records/P_RecCore.cc:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240RecErrT
241RecSetRecordCounter(const char *name, RecCounter rec_counter, RecSourceT source, bool lock)
242{
243 RecData data;
244 data.rec_counter = rec_counter;
245 return RecSetRecord(RECT_NULL, name, RECD_COUNTER, &data, nullptr, source, lock);
246}
247
248// check the version of the snap file to remove records.snap or not
249static void

Callers

nothing calls this directly

Calls 1

RecSetRecordFunction · 0.85

Tested by

no test coverage detected