public interface Codec
| Modifier and Type | Field and Description |
|---|---|
static zipkin.internal.JsonCodec |
JSON |
static zipkin.internal.ThriftCodec |
THRIFT |
| 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
|
Span |
readSpan(byte[] bytes)
throws IllegalArgumentException if the span couldn't be decoded
|
List<Span> |
readSpans(byte[] bytes)
throws IllegalArgumentException if the spans 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) |
static final zipkin.internal.JsonCodec JSON
static final zipkin.internal.ThriftCodec THRIFT
Span readSpan(byte[] bytes)
int sizeInBytes(Span value)
byte[] writeSpan(Span value)
List<Span> readSpans(byte[] bytes)
DependencyLink readDependencyLink(byte[] bytes)
byte[] writeDependencyLink(DependencyLink value)
List<DependencyLink> readDependencyLinks(byte[] bytes)
byte[] writeDependencyLinks(List<DependencyLink> value)
Copyright © 2015–2017 OpenZipkin. All rights reserved.