Package io.grpc.internal
Class AbstractSubchannel
java.lang.Object
io.grpc.LoadBalancer.Subchannel
io.grpc.internal.AbstractSubchannel
- Direct Known Subclasses:
ManagedChannelImpl.SubchannelImpl
The base interface of the Subchannels returned by
LoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs)
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract InternalInstrumented
<InternalChannelz.ChannelStats> Returns the InternalSubchannel as anInstrumented<T>
for the sole purpose of channelz unit tests.Methods inherited from class io.grpc.LoadBalancer.Subchannel
asChannel, getAddresses, getAllAddresses, getAttributes, getChannelLogger, getConnectedAddressAttributes, getInternalSubchannel, requestConnection, shutdown, start, updateAddresses
-
Constructor Details
-
AbstractSubchannel
AbstractSubchannel()
-
-
Method Details
-
getInstrumentedInternalSubchannel
Returns the InternalSubchannel as anInstrumented<T>
for the sole purpose of channelz unit tests.
-