@@ -43,10 +43,12 @@ interface Continuation {
43
43
44
44
/**
45
45
* @deprecated Replaced by {@link Tracer#captureActiveSpan()}.
46
- * <p>Prevent the <strong>currently active trace</strong>, which may differ from this scope
47
- * instance, from reporting until the returned Continuation is either activated (and the
48
- * returned scope is closed), or canceled. Should be called on the parent thread.
49
- * @return Continuation of the active span, no-op continuation if there's no active span.
46
+ * <p>When asynchronous propagation is enabled, prevent the <strong>currently active
47
+ * trace</strong>, which may differ from this scope instance, from reporting until the
48
+ * returned Continuation is either activated (and the returned scope is closed) or the
49
+ * continuation is canceled. Should be called on the parent thread.
50
+ * @return Continuation of the active span, no-op continuation if there's no active span or
51
+ * asynchronous propagation is disabled.
50
52
*/
51
53
@ Deprecated
52
54
default Continuation capture () {
@@ -61,7 +63,7 @@ default Continuation captureConcurrent() {
61
63
62
64
/**
63
65
* @deprecated Replaced by {@link Tracer#isAsyncPropagationEnabled()}.
64
- * <p>Calling this method will check whether asynchronous propagation is active <strong>for
66
+ * <p>Calling this method will check whether asynchronous propagation is enabled <strong>for
65
67
* the active scope</strong>, not this scope instance.
66
68
* @return {@code true} if asynchronous propagation is enabled <strong>for the active
67
69
* scope</strong>, {@code false} otherwise.
0 commit comments