public class ThresholdLogReference extends Object
Represents a reference from one span to another one.
Modifier and Type | Method and Description |
---|---|
static ThresholdLogReference |
childOf(ThresholdLogSpanContext spanContext)
Creates a reference which represents the child of the given context.
|
static ThresholdLogReference |
followsFrom(ThresholdLogSpanContext spanContext)
Creates a reference which represents the follower of the given context.
|
ThresholdLogSpanContext |
spanContext()
Returns the current span context.
|
String |
type()
Returns the type of reference.
|
public static ThresholdLogReference childOf(ThresholdLogSpanContext spanContext)
Creates a reference which represents the child of the given context.
spanContext
- the context.public static ThresholdLogReference followsFrom(ThresholdLogSpanContext spanContext)
Creates a reference which represents the follower of the given context.
spanContext
- the context.public ThresholdLogSpanContext spanContext()
Returns the current span context.
public String type()
Returns the type of reference.
Copyright © 2018 Couchbase, Inc.. All rights reserved.