congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Collector.decodeList
Code IndexAdd Tabnine to your IDE (free)

How to use
decodeList
method
in
zipkin2.collector.Collector

Best Java code snippets using zipkin2.collector.Collector.decodeList (Showing top 1 results out of 315)

origin: io.zipkin.zipkin2/zipkin-collector

public void acceptSpans(
  byte[] serializedSpans, BytesDecoder<Span> decoder, Callback<Void> callback) {
 metrics.incrementBytes(serializedSpans.length);
 List<Span> spans;
 try {
  spans = decodeList(decoder, serializedSpans);
 } catch (RuntimeException e) {
  callback.onError(errorReading(e));
  return;
 }
 accept(spans, callback);
}
zipkin2.collectorCollectordecodeList

Popular methods of Collector

  • acceptSpans
  • accept
  • newBuilder
    Needed to scope this to the correct logging category
  • <init>
  • acceptSpansCallback
  • appendSpanIds
  • doError
  • errorReading
  • errorStoringSpans
    When storing spans, an exception can be raised before or after the fact. This adds context of span i
  • idString
  • record
  • sample
  • record,
  • sample,
  • shouldWarn,
  • warn

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • String (java.lang)
  • Path (java.nio.file)
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now