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

com.github.kristofa.brave.SpanId Maven / Gradle / Ivy

package com.github.kristofa.brave;

/**
 * Identifies a {@link Span}.
 * 
 * @author kristof
 */
public interface SpanId {

    /**
     * Get Trace id.
     * 
     * @return Trace id.
     */
    long getTraceId();

    /**
     * Get span id.
     * 
     * @return span id.
     */
    long getSpanId();

    /**
     * Get parent span id.
     * 
     * @return Parent span id. Can be null.
     */
    Long getParentSpanId();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy