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

Method flush_buffer

src/proxy/logging/LogObject.cc:571–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571void
572LogObject::flush_buffer(LogBuffer *buffer)
573{
574 int idx = m_buffer_manager_idx++ % m_flush_threads;
575 Dbg(dbg_ctl_log_logbuffer, "adding buffer %d to flush list after checkout", buffer->get_id());
576 m_buffer_manager[idx].add_to_flush_queue(buffer);
577 Log::preproc_notify[idx].signal();
578}
579
580int
581LogObject::log(LogAccess *lad, std::string_view text_entry)

Callers 2

wakeupMethod · 0.80
current_bufferMethod · 0.80

Calls 3

add_to_flush_queueMethod · 0.80
get_idMethod · 0.45
signalMethod · 0.45

Tested by

no test coverage detected