@Internal public class NettyChannelProvider extends ManagedChannelProvider
NettyChannelBuilder
instances.ManagedChannelProvider.ProviderNotFoundException
Constructor and Description |
---|
NettyChannelProvider() |
Modifier and Type | Method and Description |
---|---|
protected NettyChannelBuilder |
builderForAddress(String name,
int port)
Creates a new builder with the given host and port.
|
protected boolean |
isAvailable()
Whether this provider is available for use, taking the current environment into consideration.
|
protected int |
priority()
A priority, from 0 to 10 that this provider should be used, taking the current environment into
consideration.
|
provider
protected boolean isAvailable()
ManagedChannelProvider
false
, no other methods are safe to be called.isAvailable
in class ManagedChannelProvider
protected int priority()
ManagedChannelProvider
priority
in class ManagedChannelProvider
protected NettyChannelBuilder builderForAddress(String name, int port)
ManagedChannelProvider
builderForAddress
in class ManagedChannelProvider