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

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

package com.github.kristofa.brave;

import com.twitter.zipkin.gen.Span;

/**
 * Maintains client span state.
 * 
 * @author kristof
 */
interface ClientSpanState extends CommonSpanState {

    /**
     * Gets the Span for the client request that was started as part of current request.
     * 

* Should be thread-aware to support multiple parallel requests. * * @return Client request span for current thread. */ Span getCurrentClientSpan(); /** * Sets current client span. *

* Should be thread-aware to support multiple parallel requests. * * @param span Client span. */ void setCurrentClientSpan(final Span span); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy