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

Method set_aggregate_op

src/proxy/logging/LogField.cc:653–662  ·  view source on GitHub ↗

------------------------------------------------------------------------- -------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

651/*-------------------------------------------------------------------------
652 -------------------------------------------------------------------------*/
653void
654LogField::set_aggregate_op(LogField::Aggregate agg_op)
655{
656 if (agg_op > 0 && agg_op < LogField::N_AGGREGATES) {
657 m_agg_op = agg_op;
658 } else {
659 Note("Invalid aggregate operator identifier: %d", agg_op);
660 m_agg_op = NO_AGGREGATE;
661 }
662}
663
664void
665LogField::update_aggregate(int64_t val)

Callers 1

parse_symbol_stringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected