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

Method _make_queue_empty

src/proxy/http/PreWarmManager.cc:969–978  ·  view source on GitHub ↗

Delete all PreWarmSM in the queue */

Source from the content-addressed store, hash-verified

967 Delete all PreWarmSM in the queue
968 */
969void
970PreWarmQueue::_make_queue_empty(Queue *q)
971{
972 while (!q->empty()) {
973 PreWarmSM *sm = q->front();
974 q->pop_front();
975 sm->stop();
976 _delete_prewarm_sm(sm);
977 }
978}
979
980/**
981 Delete closed state PreWarmSM in the queue

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected