public interface TestSpanHandler extends Iterable<org.springframework.cloud.sleuth.exporter.FinishedSpan>
| Modifier and Type | Method and Description |
|---|---|
default void |
assertAllSpansWereFinishedOrAbandoned(Queue<org.springframework.cloud.sleuth.Span> createdSpans) |
void |
clear() |
org.springframework.cloud.sleuth.exporter.FinishedSpan |
get(int index) |
List<org.springframework.cloud.sleuth.exporter.FinishedSpan> |
reportedSpans() |
org.springframework.cloud.sleuth.exporter.FinishedSpan |
takeLocalSpan() |
org.springframework.cloud.sleuth.exporter.FinishedSpan |
takeRemoteSpan(org.springframework.cloud.sleuth.Span.Kind kind) |
org.springframework.cloud.sleuth.exporter.FinishedSpan |
takeRemoteSpanWithError(org.springframework.cloud.sleuth.Span.Kind kind) |
forEach, iterator, spliteratorList<org.springframework.cloud.sleuth.exporter.FinishedSpan> reportedSpans()
org.springframework.cloud.sleuth.exporter.FinishedSpan takeLocalSpan()
void clear()
org.springframework.cloud.sleuth.exporter.FinishedSpan takeRemoteSpan(org.springframework.cloud.sleuth.Span.Kind kind)
org.springframework.cloud.sleuth.exporter.FinishedSpan takeRemoteSpanWithError(org.springframework.cloud.sleuth.Span.Kind kind)
org.springframework.cloud.sleuth.exporter.FinishedSpan get(int index)
default void assertAllSpansWereFinishedOrAbandoned(Queue<org.springframework.cloud.sleuth.Span> createdSpans)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.