Package io.micronaut.grpc.channels
Class GrpcDefaultManagedChannelConfiguration
java.lang.Object
io.micronaut.grpc.channels.GrpcManagedChannelConfiguration
io.micronaut.grpc.channels.GrpcDefaultManagedChannelConfiguration
- All Implemented Interfaces:
io.micronaut.core.naming.Named
@ConfigurationProperties("grpc.client")
public class GrpcDefaultManagedChannelConfiguration
extends GrpcManagedChannelConfiguration
Default configuration for all GRPC clients.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from class io.micronaut.grpc.channels.GrpcManagedChannelConfiguration
channelBuilder, CONNECT_ON_STARTUP, CONNECTION_TIMEOUT, name, SETTING_TARGET, SETTING_URL
-
Constructor Summary
ConstructorDescriptionGrpcDefaultManagedChannelConfiguration
(io.micronaut.context.env.Environment env, ExecutorService executorService) Default constructor.GrpcDefaultManagedChannelConfiguration
(String target, io.micronaut.context.env.Environment env, ExecutorService executorService) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.grpc.channels.GrpcManagedChannelConfiguration
getChannelBuilder, getConnectionTimeout, getName, isConnectOnStartup
-
Field Details
-
NAME
- See Also:
-
PREFIX
- See Also:
-
-
Constructor Details
-
GrpcDefaultManagedChannelConfiguration
public GrpcDefaultManagedChannelConfiguration(io.micronaut.context.env.Environment env, @Named("io") ExecutorService executorService) Default constructor.- Parameters:
env
- The environmentexecutorService
- The executor service
-
GrpcDefaultManagedChannelConfiguration
public GrpcDefaultManagedChannelConfiguration(String target, io.micronaut.context.env.Environment env, @Named("io") ExecutorService executorService) Default constructor.- Parameters:
target
- The targetenv
- The environmentexecutorService
- The executor service
-