public class GrpcChannelPool extends Object
| Constructor and Description |
|---|
GrpcChannelPool(ManagedChannelFactory channelFactory,
ScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
GrpcChannel |
getChannel(EndpointRecord endpoint) |
boolean |
removeChannels(Collection<EndpointRecord> endpointsToRemove) |
void |
shutdown() |
public GrpcChannelPool(ManagedChannelFactory channelFactory, ScheduledExecutorService executor)
public GrpcChannel getChannel(EndpointRecord endpoint)
public boolean removeChannels(Collection<EndpointRecord> endpointsToRemove)
public void shutdown()
Copyright © 2023. All rights reserved.