public class ThresholdLogSpan extends Object implements io.opentracing.Span, Comparable<ThresholdLogSpan>
public ThresholdLogSpanContext context()
context
in interface io.opentracing.Span
public ThresholdLogSpan setTag(String key, String value)
setTag
in interface io.opentracing.Span
public ThresholdLogSpan setTag(String key, boolean value)
setTag
in interface io.opentracing.Span
public ThresholdLogSpan setTag(String key, Number value)
setTag
in interface io.opentracing.Span
public ThresholdLogSpan log(Map<String,?> fields)
log
in interface io.opentracing.Span
public ThresholdLogSpan log(String event)
log
in interface io.opentracing.Span
public ThresholdLogSpan log(long timestampMicroseconds, Map<String,?> fields)
log
in interface io.opentracing.Span
public ThresholdLogSpan log(long timestampMicroseconds, String event)
log
in interface io.opentracing.Span
public ThresholdLogSpan setBaggageItem(String key, String value)
setBaggageItem
in interface io.opentracing.Span
public String getBaggageItem(String key)
getBaggageItem
in interface io.opentracing.Span
public ThresholdLogSpan setOperationName(String operationName)
setOperationName
in interface io.opentracing.Span
public int compareTo(ThresholdLogSpan o)
compareTo
in interface Comparable<ThresholdLogSpan>
public void finish()
finish
in interface io.opentracing.Span
public long durationMicros()
Returns the relative duration in microseconds.
public String operationName()
Returns the operation name.
public Object tag(String key)
Returns a tag if set, null otherwise.
key
- the key to check.public CouchbaseRequest request()
public void request(CouchbaseRequest request)
public void finish(long finishMicros)
finish
in interface io.opentracing.Span
Copyright © 2018 Couchbase, Inc.. All rights reserved.