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