mirror of https://github.com/grpc/grpc-java.git
core: Tracking NameResolverProvider being experimental
This commit is contained in:
parent
3334a8a554
commit
c07ad68cbd
|
|
@ -30,14 +30,8 @@ import java.util.List;
|
|||
* exceptions may reasonably occur for implementation-specific reasons, implementations should
|
||||
* generally handle the exception gracefully and return {@code false} from {@link #isAvailable()}.
|
||||
*/
|
||||
@ExperimentalApi
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4159")
|
||||
public abstract class NameResolverProvider extends NameResolver.Factory {
|
||||
/**
|
||||
* The port number used in case the target or the underlying naming system doesn't provide a
|
||||
* port number.
|
||||
*/
|
||||
public static final Attributes.Key<Integer> PARAMS_DEFAULT_PORT =
|
||||
NameResolver.Factory.PARAMS_DEFAULT_PORT;
|
||||
@VisibleForTesting
|
||||
static final Iterable<Class<?>> HARDCODED_CLASSES = new HardcodedClasses();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue