brave.internal.Internal Maven / Gradle / Ivy
package brave.internal;
import brave.Tracer;
import brave.propagation.TraceContext;
/**
* Allows internal classes outside the package {@code brave} to use non-public methods. This allows
* us access internal methods while also making obvious the hooks are not for public use. The only
* implementation of this interface is in {@link brave.Tracer}.
*
* Originally designed by OkHttp team, derived from {@code okhttp3.internal.Internal}
*/
public abstract class Internal {
// Used by Brave 3 apis
public abstract @Nullable Long timestamp(Tracer tracer, TraceContext context);
public static Internal instance;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy