public class BraveTestSpanHandler extends Object implements TestSpanHandler
| Constructor and Description |
|---|
BraveTestSpanHandler(brave.test.IntegrationTestSpanHandler integrationSpans) |
BraveTestSpanHandler(brave.test.TestSpanHandler spans) |
BraveTestSpanHandler(brave.test.TestSpanHandler spans,
brave.test.IntegrationTestSpanHandler integrationSpans) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.springframework.cloud.sleuth.exporter.FinishedSpan |
get(int index) |
Iterator<org.springframework.cloud.sleuth.exporter.FinishedSpan> |
iterator() |
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) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassertAllSpansWereFinishedOrAbandonedforEach, spliteratorpublic BraveTestSpanHandler(brave.test.TestSpanHandler spans)
public BraveTestSpanHandler(brave.test.IntegrationTestSpanHandler integrationSpans)
public BraveTestSpanHandler(brave.test.TestSpanHandler spans,
brave.test.IntegrationTestSpanHandler integrationSpans)
public List<org.springframework.cloud.sleuth.exporter.FinishedSpan> reportedSpans()
reportedSpans in interface TestSpanHandlerpublic org.springframework.cloud.sleuth.exporter.FinishedSpan takeLocalSpan()
takeLocalSpan in interface TestSpanHandlerpublic void clear()
clear in interface TestSpanHandlerpublic org.springframework.cloud.sleuth.exporter.FinishedSpan takeRemoteSpan(org.springframework.cloud.sleuth.Span.Kind kind)
takeRemoteSpan in interface TestSpanHandlerpublic org.springframework.cloud.sleuth.exporter.FinishedSpan takeRemoteSpanWithError(org.springframework.cloud.sleuth.Span.Kind kind)
takeRemoteSpanWithError in interface TestSpanHandlerpublic org.springframework.cloud.sleuth.exporter.FinishedSpan get(int index)
get in interface TestSpanHandlerpublic Iterator<org.springframework.cloud.sleuth.exporter.FinishedSpan> iterator()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.