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

Method stop

src/proxy/http/PreWarmManager.cc:169–180  ·  view source on GitHub ↗

Stop pre-warming. Move to state_closed from any state. */

Source from the content-addressed store, hash-verified

167 Stop pre-warming. Move to state_closed from any state.
168 */
169void
170PreWarmSM::stop()
171{
172 if (handler == &PreWarmSM::state_closed) {
173 // do nothing
174 return;
175 }
176
177 _reset();
178 SET_HANDLER(&PreWarmSM::state_closed);
179 _milestones.mark(Milestone::CLOSED);
180}
181
182void
183PreWarmSM::destroy()

Callers 2

_make_queue_emptyMethod · 0.45
destroyMethod · 0.45

Calls 2

markMethod · 0.45
freeMethod · 0.45

Tested by

no test coverage detected