Class SpanWrapper
java.lang.Object
com.couchbase.client.core.transaction.support.SpanWrapper
Wraps a RequestSpan, with the value-add that it automatically records how long the operation took for
transaction logging.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> SpanWrapperstatic SpanWrappercreate(RequestTracer tracer, String op, SpanWrapper parent) longlonglongfinish()span()
-
Constructor Details
-
SpanWrapper
-
-
Method Details
-
elapsedMicros
public long elapsedMicros() -
finish
public long finish() -
create
-
attribute
-
span
-
failWith
-