public interface Writer
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Indicates to the writer that no future writing will come and it should terminates all
connections and tasks
|
void |
start()
Start the writer
|
void |
write(List<DDBaseSpan<?>> trace)
Write a trace represented by the entire list of all the finished spans
|
void |
writeServices(Map<String,Service> services)
Report additional service information to the endpoint
|
void write(List<DDBaseSpan<?>> trace)
trace - the list of spans to writevoid writeServices(Map<String,Service> services)
services - a list of extra information about servicesvoid start()
void close()