Package zipkin2.codec

Class ProtobufSpanDecoder


  • public class ProtobufSpanDecoder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Span> decodeList​(byte[] spans)  
      static java.util.List<Span> decodeList​(com.google.protobuf.CodedInputStream input)  
      static java.util.List<Span> decodeList​(java.nio.ByteBuffer spans)  
      static Span decodeOne​(com.google.protobuf.CodedInputStream input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtobufSpanDecoder

        public ProtobufSpanDecoder()
    • Method Detail

      • decodeOne

        public static Span decodeOne​(com.google.protobuf.CodedInputStream input)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • decodeList

        public static java.util.List<Span> decodeList​(byte[] spans)
      • decodeList

        public static java.util.List<Span> decodeList​(java.nio.ByteBuffer spans)
      • decodeList

        public static java.util.List<Span> decodeList​(com.google.protobuf.CodedInputStream input)