public class LatestActiveParentResolver extends AbstractParentResolver
Constructor and Description |
---|
LatestActiveParentResolver() |
Modifier and Type | Method and Description |
---|---|
static SpanWrapper |
resolveParent(SpanStore spanStore)
Resolves the latest active span as the parent.
|
static SpanWrapper |
resolveParentForEndpointOrInboundEndpoint(SpanStore spanStore)
Resolves the latest active span wrapper - which is either a Call mediator, a Send mediator,
or a flow continuable mediator, as the parent span wrapper for endpoints or inbound endpoints.
|
isCallMediator, isEndpointOrInboundEndpoint, isFlowContinuableMediator, isForeachMediator, isSendMediator
public static SpanWrapper resolveParent(SpanStore spanStore)
spanStore
- The span store object.public static SpanWrapper resolveParentForEndpointOrInboundEndpoint(SpanStore spanStore)
spanStore
- The span store object.Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.