Package io.grpc.internal
Class AbstractSubchannel
- java.lang.Object
-
- io.grpc.LoadBalancer.Subchannel
-
- io.grpc.internal.AbstractSubchannel
-
- Direct Known Subclasses:
ManagedChannelImpl.SubchannelImpl
abstract class AbstractSubchannel extends LoadBalancer.Subchannel
The base interface of the Subchannels returned byLoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs)
.
-
-
Constructor Summary
Constructors Constructor Description AbstractSubchannel()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract InternalInstrumented<InternalChannelz.ChannelStats>
getInstrumentedInternalSubchannel()
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
-
-
-
-
Method Detail
-
getInstrumentedInternalSubchannel
abstract InternalInstrumented<InternalChannelz.ChannelStats> getInstrumentedInternalSubchannel()
Returns the InternalSubchannel as anInstrumented<T>
for the sole purpose of channelz unit tests.
-
-