blob: e107f93450015c964daa3495b390d073f1521ef4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.streamingvisitors.tracing;
import java.util.function.Supplier;
/**
* Potentially exports a trace to an underlying consumer. "Potentially" here means
* that the exporter may itself sample or otherwise limit which queries are actually
* exported.
*/
public interface TraceExporter {
void maybeExport(Supplier<TraceDescription> traceDescriptionSupplier);
}
|