Package zipkin2
Class TestObjects
- java.lang.Object
- 
- zipkin2.TestObjects
 
- 
 public final class TestObjects extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static EndpointBACKENDstatic SpanCLIENT_SPANstatic longDAYNotably, the cassandra implementation has day granularitystatic EndpointDBstatic EndpointFRONTENDstatic Span[]LOTS_OF_SPANSZipkin trace ids are random 64bit numbers.static longTODAYstatic List<Span>TRACEstatic longTRACE_DURATIONstatic longTRACE_ENDTSstatic longTRACE_STARTTSstatic CharsetUTF_8
 - 
Constructor SummaryConstructors Constructor Description TestObjects()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static longmidnightUTC(long epochMillis)For bucketed data floored to the day.static Spanspan(long traceId)
 
- 
- 
- 
Field Detail- 
UTF_8public static final Charset UTF_8 
 - 
DAYpublic static final long DAY Notably, the cassandra implementation has day granularity
 - 
TODAYpublic static final long TODAY 
 - 
FRONTENDpublic static final Endpoint FRONTEND 
 - 
BACKENDpublic static final Endpoint BACKEND 
 - 
DBpublic static final Endpoint DB 
 - 
CLIENT_SPANpublic static final Span CLIENT_SPAN 
 - 
TRACE_DURATIONpublic static final long TRACE_DURATION 
 - 
TRACE_STARTTSpublic static final long TRACE_STARTTS 
 - 
TRACE_ENDTSpublic static final long TRACE_ENDTS 
 - 
LOTS_OF_SPANSpublic static final Span[] LOTS_OF_SPANS Zipkin trace ids are random 64bit numbers. This creates a relatively large input to avoid flaking out due to PRNG nuance.
 
- 
 - 
Method Detail- 
midnightUTCpublic static long midnightUTC(long epochMillis) For bucketed data floored to the day. For example, dependency links.
 - 
spanpublic static Span span(long traceId) 
 
- 
 
-