Package zipkin2.codec

Class MoshiSpanDecoder


  • public final class MoshiSpanDecoder
    extends java.lang.Object
    Read-only json adapters resurrected from before we switched to Java 6 as storage components can be Java 7+
    • Field Detail

      • SPAN_ADAPTER

        public static final com.squareup.moshi.JsonAdapter<Span> SPAN_ADAPTER
    • Method Detail

      • decodeList

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

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