Class GrpcChannelPool
public class GrpcChannelPool : IDisposable
- Inheritance
-
GrpcChannelPool
- Implements
- Inherited Members
Constructors
GrpcChannelPool(ServicesConfiguration, ILogger<GrpcChannelPool>)
public GrpcChannelPool(ServicesConfiguration config, ILogger<GrpcChannelPool> logger)
Parameters
configServicesConfigurationloggerILogger<GrpcChannelPool>
Properties
ChannelCount
public int ChannelCount { get; }
Property Value
ConfiguredServiceCount
public int ConfiguredServiceCount { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetChannelAsync(string)
public Task<GrpcChannel> GetChannelAsync(string serviceName)
Parameters
serviceNamestring