Class ThresholdLogReference
java.lang.Object
com.couchbase.client.core.tracing.ThresholdLogReference
Represents a reference from one span to another one.
- Since:
- 1.6.0
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.Returns the current span context.type()
Returns the type of reference.
-
Method Details
-
childOf
Creates a reference which represents the child of the given context.- Parameters:
spanContext
- the context.- Returns:
- a reference representing this relationship.
-
followsFrom
Creates a reference which represents the follower of the given context.- Parameters:
spanContext
- the context.- Returns:
- a reference representing this relationship.
-
spanContext
Returns the current span context. -
type
Returns the type of reference.
-