aboutsummaryrefslogtreecommitdiff
path: root/api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2018-02-05 17:33:54 -0800
committerKristen Kozak <sebright@google.com>2018-02-05 18:27:41 -0800
commit420201505eb0ae4e79e9dba65807ff7c1cf32714 (patch)
tree6c36a09615e0bc18deeb613714fcb475b36f84d6 /api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java
parentd853e3a2da22cbc8c5a6d5d18cee82a8bc344a4d (diff)
downloadopencensus-java-420201505eb0ae4e79e9dba65807ff7c1cf32714.tar.gz
Add '@since' Javadoc tag to all tracing APIs (issue #864).
This commit also adds missing Javadocs.
Diffstat (limited to 'api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java')
-rw-r--r--api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java b/api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java
index a56c6d13..a90f0419 100644
--- a/api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java
+++ b/api/src/main/java/io/opencensus/trace/propagation/PropagationComponent.java
@@ -22,6 +22,8 @@ import io.opencensus.common.ExperimentalApi;
* Container class for all the supported propagation formats. Currently supports only Binary format
* (see {@link BinaryFormat}) and B3 Text format (see {@link TextFormat}) but more formats will be
* added.
+ *
+ * @since 0.5
*/
public abstract class PropagationComponent {
private static final PropagationComponent NOOP_PROPAGATION_COMPONENT =
@@ -32,6 +34,7 @@ public abstract class PropagationComponent {
* provided then no-op implementation will be used.
*
* @return the {@code BinaryFormat} implementation.
+ * @since 0.5
*/
public abstract BinaryFormat getBinaryFormat();
@@ -50,6 +53,7 @@ public abstract class PropagationComponent {
* Returns an instance that contains no-op implementations for all the instances.
*
* @return an instance that contains no-op implementations for all the instances.
+ * @since 0.5
*/
public static PropagationComponent getNoopPropagationComponent() {
return NOOP_PROPAGATION_COMPONENT;