@ConfigurationProperties(value="grpc.client") public class GrpcDefaultManagedChannelConfiguration extends GrpcManagedChannelConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
static java.lang.String |
PREFIX |
channelBuilder, CONNECT_ON_STARTUP, CONNECTION_TIMEOUT, name, SETTING_TARGET, SETTING_URL| Constructor and Description |
|---|
GrpcDefaultManagedChannelConfiguration(io.micronaut.context.env.Environment env,
java.util.concurrent.ExecutorService executorService)
Default constructor.
|
GrpcDefaultManagedChannelConfiguration(java.lang.String target,
io.micronaut.context.env.Environment env,
java.util.concurrent.ExecutorService executorService)
Default constructor.
|
getChannelBuilder, getConnectionTimeout, getName, isConnectOnStartuppublic static final java.lang.String NAME
public static final java.lang.String PREFIX
public GrpcDefaultManagedChannelConfiguration(io.micronaut.context.env.Environment env,
@Named(value="io")
java.util.concurrent.ExecutorService executorService)
env - The environmentexecutorService - The executor servicepublic GrpcDefaultManagedChannelConfiguration(java.lang.String target,
io.micronaut.context.env.Environment env,
@Named(value="io")
java.util.concurrent.ExecutorService executorService)
target - The targetenv - The environmentexecutorService - The executor service