Package io.micronaut.grpc.channels
Class GrpcNamedManagedChannelConfiguration
- java.lang.Object
-
- io.micronaut.grpc.channels.GrpcManagedChannelConfiguration
-
- io.micronaut.grpc.channels.GrpcNamedManagedChannelConfiguration
-
- All Implemented Interfaces:
io.micronaut.core.naming.Named
@EachProperty("grpc.channels") public class GrpcNamedManagedChannelConfiguration extends GrpcManagedChannelConfigurationConstructs a named channel configuration for each property specified inGrpcManagedChannelConfiguration.PREFIX.- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from class io.micronaut.grpc.channels.GrpcManagedChannelConfiguration
channelBuilder, CONNECT_ON_STARTUP, CONNECTION_TIMEOUT, name, PREFIX, SETTING_TARGET, SETTING_URL
-
-
Constructor Summary
Constructors Constructor Description GrpcNamedManagedChannelConfiguration(java.lang.String name, io.micronaut.context.env.Environment env, java.util.concurrent.ExecutorService executorService)Default constructor.
-
Method Summary
-
Methods inherited from class io.micronaut.grpc.channels.GrpcManagedChannelConfiguration
getChannelBuilder, getConnectionTimeout, getName, isConnectOnStartup
-
-
-
-
Constructor Detail
-
GrpcNamedManagedChannelConfiguration
public GrpcNamedManagedChannelConfiguration(@Parameter java.lang.String name, io.micronaut.context.env.Environment env, @Named("io") java.util.concurrent.ExecutorService executorService)Default constructor.- Parameters:
name- The nameenv- The environmentexecutorService- The executor service
-
-