Package io.grpc.xds

Class RingHashLoadBalancer.SubchannelView

  • Enclosing class:
    RingHashLoadBalancer

    private static final class RingHashLoadBalancer.SubchannelView
    extends java.lang.Object
    An unmodifiable view of a subchannel with state not subject to its real connectivity state changes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private io.grpc.util.MultiChildLoadBalancer.ChildLbState childLbState  
      private io.grpc.ConnectivityState connectivityState  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SubchannelView​(io.grpc.util.MultiChildLoadBalancer.ChildLbState childLbState, io.grpc.ConnectivityState state)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • childLbState

        private final io.grpc.util.MultiChildLoadBalancer.ChildLbState childLbState
      • connectivityState

        private final io.grpc.ConnectivityState connectivityState
    • Constructor Detail

      • SubchannelView

        private SubchannelView​(io.grpc.util.MultiChildLoadBalancer.ChildLbState childLbState,
                               io.grpc.ConnectivityState state)