-
-
Method Summary
Modifier and Type Method Description abstract voidwrite(List<DDSpan> trace)Write a trace represented by the entire list of all the finished spans abstract voidstart()Start the writer abstract booleanflush()Requests the writer to send all finished traces and block until complete. abstract voidclose()Indicates to the writer that no future writing will come and it should terminates allconnections and tasks abstract voidincrementDropCounts(int spanCount)Count that a trace was captured for stats, but without reporting it. -
-
Method Detail
-
write
abstract void write(List<DDSpan> trace)
Write a trace represented by the entire list of all the finished spans
- Parameters:
trace- the list of spans to write
-
start
abstract void start()
Start the writer
-
flush
abstract boolean flush()
Requests the writer to send all finished traces and block until complete.
-
close
abstract void close()
Indicates to the writer that no future writing will come and it should terminates allconnections and tasks
-
incrementDropCounts
abstract void incrementDropCounts(int spanCount)
Count that a trace was captured for stats, but without reporting it.
-
-
-
-