public class SpanStore extends Object
Constructor and Description |
---|
SpanStore() |
Modifier and Type | Method and Description |
---|---|
void |
addContinuationStateSequenceInfo(ContinuationStateSequenceInfo continuationStateSequenceInfo) |
SpanWrapper |
addSpanWrapper(String spanId,
io.opentracing.Span activeSpan,
StatisticDataUnit statisticDataUnit,
SpanWrapper parentSpanWrapper,
MessageContext synCtx)
Denotes the beginning of a span.
|
void |
assignOuterLevelSpan(SpanWrapper spanWrapper) |
void |
finishSpan(SpanWrapper spanWrapper)
Denotes the end of a span.
|
List<SpanWrapper> |
getActiveSpanWrappers() |
List<ContinuationStateSequenceInfo> |
getContinuationStateSequenceInfos() |
SpanWrapper |
getOuterLevelSpanWrapper() |
SpanWrapper |
getSpanWrapper(String spanWrapperId) |
SpanWrapper |
getSpanWrapperByComponentUniqueId(String componentUniqueId) |
Map<String,SpanWrapper> |
getSpanWrappers() |
boolean |
hasContinuationStateSequenceInfoWithId(String id) |
public SpanWrapper addSpanWrapper(String spanId, io.opentracing.Span activeSpan, StatisticDataUnit statisticDataUnit, SpanWrapper parentSpanWrapper, MessageContext synCtx)
spanId
- Index of the span wrapperactiveSpan
- Reference to the span object, that have been startedstatisticDataUnit
- The statistic data unit objectparentSpanWrapper
- Parent span wrapper of the created span wrappersynCtx
- Message Context that is reported during the open eventpublic void finishSpan(SpanWrapper spanWrapper)
spanWrapper
- Span wrapper object, which has been already createdpublic void assignOuterLevelSpan(SpanWrapper spanWrapper)
public SpanWrapper getOuterLevelSpanWrapper()
public Map<String,SpanWrapper> getSpanWrappers()
public SpanWrapper getSpanWrapper(String spanWrapperId)
public List<SpanWrapper> getActiveSpanWrappers()
public SpanWrapper getSpanWrapperByComponentUniqueId(String componentUniqueId)
public void addContinuationStateSequenceInfo(ContinuationStateSequenceInfo continuationStateSequenceInfo)
public List<ContinuationStateSequenceInfo> getContinuationStateSequenceInfos()
public boolean hasContinuationStateSequenceInfoWithId(String id)
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.