All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentracing.contrib.zipkin.ZipkinSpanContext Maven / Gradle / Ivy

There is a newer version: 0.8
Show newest version
package io.opentracing.contrib.zipkin;

import io.opentracing.SpanContext;
import java.util.Map;

public final class ZipkinSpanContext implements SpanContext {

    private final long id;
    private final Long parentId;
    private final long traceId;
    private final Iterable> baggageItems;

    public ZipkinSpanContext(long id, Long parentId, long traceId, Iterable> baggageItems) {
        this.id = id;
        this.parentId = parentId;
        this.traceId = traceId;
        this.baggageItems = baggageItems;
    }

    public long getId() {
        return id;
    }

    public Long getParentId() {
        return parentId;
    }

    public long getTraceId() {
        return traceId;
    }

    public Iterable> baggageItems() {
        return baggageItems;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy