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

Method openDone

src/iocore/cache/CacheDisk.cc:213–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213int
214CacheDisk::openDone(int /* event ATS_UNUSED */, void * /* data ATS_UNUSED */)
215{
216 if (cacheProcessor.start_done) {
217 SET_HANDLER(&CacheDisk::syncDone);
218 cacheProcessor.diskInitialized();
219 return EVENT_DONE;
220 } else {
221 eventProcessor.schedule_in(this, HRTIME_MSECONDS(5), ET_CALL);
222 return EVENT_CONT;
223 }
224}
225
226int
227CacheDisk::sync()

Callers

nothing calls this directly

Calls 2

diskInitializedMethod · 0.80
schedule_inMethod · 0.45

Tested by

no test coverage detected