public interface Codec extends SpanDecoder
| Modifier and Type | Field and Description |
|---|---|
static zipkin.internal.JsonCodec |
JSON |
static zipkin.internal.ThriftCodec |
THRIFT |
DETECTING_DECODER, JSON_DECODER, THRIFT_DECODER| Modifier and Type | Method and Description |
|---|---|
DependencyLink |
readDependencyLink(byte[] bytes)
throws IllegalArgumentException if the dependency link couldn't be decoded
|
List<DependencyLink> |
readDependencyLinks(byte[] bytes)
throws IllegalArgumentException if the dependency links couldn't be decoded
|
int |
sizeInBytes(Span value) |
byte[] |
writeDependencyLink(DependencyLink value) |
byte[] |
writeDependencyLinks(List<DependencyLink> value) |
byte[] |
writeSpan(Span value) |
byte[] |
writeSpans(List<Span> value) |
byte[] |
writeTraces(List<List<Span>> value) |
readSpan, readSpansstatic final zipkin.internal.JsonCodec JSON
static final zipkin.internal.ThriftCodec THRIFT
int sizeInBytes(Span value)
byte[] writeSpan(Span value)
DependencyLink readDependencyLink(byte[] bytes)
byte[] writeDependencyLink(DependencyLink value)
List<DependencyLink> readDependencyLinks(byte[] bytes)
byte[] writeDependencyLinks(List<DependencyLink> value)
Copyright © 2015–2018 OpenZipkin. All rights reserved.