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

Method flush_all_objects

src/proxy/logging/LogObject.cc:1374–1388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1372}
1373
1374void
1375LogObjectManager::flush_all_objects()
1376{
1377 for (auto &_object : this->_objects) {
1378 _object->force_new_buffer();
1379 }
1380
1381 ACQUIRE_API_MUTEX("A LogObjectManager::flush_all_objects");
1382
1383 for (auto &_APIobject : this->_APIobjects) {
1384 _APIobject->force_new_buffer();
1385 }
1386
1387 RELEASE_API_MUTEX("R LogObjectManager::flush_all_objects");
1388}
1389
1390#if TS_HAS_TESTS
1391#include "tscore/TestBox.h"

Callers 1

change_configurationMethod · 0.80

Calls 1

force_new_bufferMethod · 0.80

Tested by

no test coverage detected