From 0f9e3fa2eaf3e28bf715eeb0729c8626f7083ec6 Mon Sep 17 00:00:00 2001
From: Carl Mastrangelo
The specification doesn't say anything about ordering, or preference, so the returned codes
* can be arbitrary.
*/
- @ExperimentalApi("https://github.com/grpc/grpc-java/issues/492")
+ @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1704")
public Set Should only used by tests.
*/
- @ExperimentalApi("primarily for testing")
+ @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1767")
public abstract T overrideAuthority(String authority);
/*
@@ -142,7 +142,7 @@ public abstract class ManagedChannelBuilder If this method is not called, the builder will look up in the global resolver registry for
* a factory for the provided target.
*/
- @ExperimentalApi
+ @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1770")
public abstract T nameResolverFactory(NameResolver.Factory resolverFactory);
/**
@@ -160,7 +160,7 @@ public abstract class ManagedChannelBuilder If this method is not called, the builder will use {@link SimpleLoadBalancerFactory} for the
* channel.
*/
- @ExperimentalApi
+ @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1771")
public abstract T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory);
/**
@@ -168,7 +168,7 @@ public abstract class ManagedChannelBuilder The addresses and attributes of a target may be changed over time, thus the caller registers a
* {@link Listener} to receive continuous updates.
*/
-@ExperimentalApi
+@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1770")
@ThreadSafe
public abstract class NameResolver {
/**
diff --git a/core/src/main/java/io/grpc/NameResolverRegistry.java b/core/src/main/java/io/grpc/NameResolverRegistry.java
index c22055938f..6105443191 100644
--- a/core/src/main/java/io/grpc/NameResolverRegistry.java
+++ b/core/src/main/java/io/grpc/NameResolverRegistry.java
@@ -42,7 +42,7 @@ import javax.annotation.concurrent.ThreadSafe;
* A registry that holds various {@link NameResolver.Factory}s and dispatches target URI to the
* first one that can handle it.
*/
-@ExperimentalApi
+@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1770")
@ThreadSafe
public final class NameResolverRegistry extends NameResolver.Factory {
private static final NameResolverRegistry defaultRegistry =
diff --git a/core/src/main/java/io/grpc/PartialForwardingServerCall.java b/core/src/main/java/io/grpc/PartialForwardingServerCall.java
index 67171d2f59..8af0751ca9 100644
--- a/core/src/main/java/io/grpc/PartialForwardingServerCall.java
+++ b/core/src/main/java/io/grpc/PartialForwardingServerCall.java
@@ -67,13 +67,13 @@ abstract class PartialForwardingServerCall> {
*
* @param deadline the deadline or {@code null} for unsetting the deadline.
*/
- @ExperimentalApi
+ @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1706")
public final S withDeadline(@Nullable Deadline deadline) {
return build(channel, callOptions.withDeadline(deadline));
}
@@ -144,7 +144,7 @@ public abstract class AbstractStub> {
*
* @param compressorName the name (e.g. "gzip") of the compressor to use.
*/
- @ExperimentalApi
+ @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1704")
public final S withCompression(String compressorName) {
return build(channel, callOptions.withCompression(compressorName));
}