class TraceContext implements Recyclable {

    public static <C> void removeTraceContextHeaders(C carrier, HeaderRemover<C> headerRemover) {
        headerRemover.remove(W3C_TRACE_PARENT_TEXTUAL_HEADER_NAME, carrier);
        headerRemover.remove(ELASTIC_TRACE_PARENT_TEXTUAL_HEADER_NAME, carrier);
        headerRemover.remove(TRACESTATE_HEADER_NAME, carrier);
        headerRemover.remove(TRACE_PARENT_BINARY_HEADER_NAME, carrier);
    }

    private  TraceContext(ElasticApmTracer tracer, Id id);

}