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

Method deactivate

src/proxy/http/remap/PluginFactory.cc:324–330  ·  view source on GitHub ↗

* @brief Tell all plugins instantiated by this factory that the configuration * they are using is no longer the active one. * * This method would be useful only in case configs are reloaded independently from * factory/plugins instantiation and initialization. */

Source from the content-addressed store, hash-verified

322 * factory/plugins instantiation and initialization.
323 */
324void
325PluginFactory::deactivate()
326{
327 PluginDbg(_dbg_ctl(), "deactivate configuration used by factory '%s'", getUuid());
328
329 _instList.apply([](RemapPluginInst &pluginInst) -> void { pluginInst.done(); });
330}
331
332/**
333 * @brief Tell all plugins (that so wish) that remap.config is going to be reloaded

Callers 5

~UrlRewriteMethod · 0.45
delete_streamMethod · 0.45

Calls 2

applyMethod · 0.45
doneMethod · 0.45

Tested by

no test coverage detected