public class NoSpanFactory extends java.lang.Object implements SpanFactory
Span
s that always have a size of 0
.Constructor and Description |
---|
NoSpanFactory() |
Modifier and Type | Method and Description |
---|---|
Span |
create(SpanCallback callback)
Creates a new
Span . |
public Span create(SpanCallback callback)
SpanFactory
Span
.create
in interface SpanFactory
callback
- allows interaction between Span
and DockStation
.Span
, not null