Interface FinishedSpanWriter<T>
-
public interface FinishedSpanWriter<T>Writes finished spans in a provided format.- Since:
- 3.1.0
- Author:
- Marcin Grzejszczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Twrite(TextOutputFormat format, List<org.springframework.cloud.sleuth.exporter.FinishedSpan> spans)Writes the spans in a given format to String.
-
-
-
Method Detail
-
write
T write(TextOutputFormat format, List<org.springframework.cloud.sleuth.exporter.FinishedSpan> spans)
Writes the spans in a given format to String.- Parameters:
format- format in which spans should be storedspans- spans to store- Returns:
- string representation of spans or
nullifTextOutputFormatis not supported.
-
-