Package zipkin2.codec
Class MoshiSpanDecoder
- java.lang.Object
-
- zipkin2.codec.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 Summary
Fields Modifier and Type Field Description static com.squareup.moshi.JsonAdapter<Span>
SPAN_ADAPTER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MoshiSpanDecoder
create()
java.util.List<Span>
decodeList(byte[] spans)
java.util.List<Span>
decodeList(java.nio.ByteBuffer spans)
-
-
-
Field Detail
-
SPAN_ADAPTER
public static final com.squareup.moshi.JsonAdapter<Span> SPAN_ADAPTER
-
-
Method Detail
-
create
public static MoshiSpanDecoder create()
-
decodeList
public java.util.List<Span> decodeList(byte[] spans)
-
decodeList
public java.util.List<Span> decodeList(java.nio.ByteBuffer spans)
-
-