@FunctionalInterface public interface ChannelSupplier
Function
that returns
Channel
and may throw an AlluxioStatusException
.Modifier and Type | Method and Description |
---|---|
io.grpc.Channel |
get(InetSocketAddress addr)
Creates a channel for the given socket address.
|
io.grpc.Channel get(InetSocketAddress addr) throws AlluxioStatusException
addr
- the address to create a channel forChannel
AlluxioStatusException
- if the channel can't be createdCopyright © 2023. All Rights Reserved.