/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | AutoConfiguredLoadBalancerFactory.java | 27 import io.grpc.LoadBalancer; 28 import io.grpc.LoadBalancer.Helper; 29 import io.grpc.LoadBalancer.PickResult; 30 import io.grpc.LoadBalancer.PickSubchannelArgs; 31 import io.grpc.LoadBalancer.SubchannelPicker; 41 final class AutoConfiguredLoadBalancerFactory extends LoadBalancer.Factory { 62 public LoadBalancer newLoadBalancer(Helper helper) { in newLoadBalancer() 66 private static final class NoopLoadBalancer extends LoadBalancer { 83 static final class AutoConfiguredLoadBalancer extends LoadBalancer { 85 private LoadBalancer delegate; [all …]
|
D | AbstractSubchannel.java | 22 import io.grpc.LoadBalancer; 29 abstract class AbstractSubchannel extends LoadBalancer.Subchannel {
|
D | OobChannel.java | 39 import io.grpc.LoadBalancer; 40 import io.grpc.LoadBalancer.PickResult; 41 import io.grpc.LoadBalancer.PickSubchannelArgs; 42 import io.grpc.LoadBalancer.Subchannel; 43 import io.grpc.LoadBalancer.SubchannelPicker;
|
D | DelayedClientTransport.java | 26 import io.grpc.LoadBalancer.PickResult; 27 import io.grpc.LoadBalancer.PickSubchannelArgs; 28 import io.grpc.LoadBalancer.SubchannelPicker;
|
D | AbstractManagedChannelImplBuilder.java | 31 import io.grpc.LoadBalancer; 118 @Nullable LoadBalancer.Factory loadBalancerFactory; 239 public final T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory) { in loadBalancerFactory()
|
D | ManagedChannelImpl.java | 53 import io.grpc.LoadBalancer; 54 import io.grpc.LoadBalancer.PickResult; 55 import io.grpc.LoadBalancer.PickSubchannelArgs; 56 import io.grpc.LoadBalancer.SubchannelPicker; 120 private final LoadBalancer.Factory loadBalancerFactory; 998 private class LbHelperImpl extends LoadBalancer.Helper { 999 LoadBalancer lb; 1139 LoadBalancer.Subchannel subchannel, List<EquivalentAddressGroup> addrs) { in updateSubchannelAddresses()
|
D | PickSubchannelArgsImpl.java | 23 import io.grpc.LoadBalancer.PickSubchannelArgs;
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | PickFirstBalancerFactory.java | 25 import io.grpc.LoadBalancer.PickResult; 26 import io.grpc.LoadBalancer.PickSubchannelArgs; 27 import io.grpc.LoadBalancer.Subchannel; 28 import io.grpc.LoadBalancer.SubchannelPicker; 37 public final class PickFirstBalancerFactory extends LoadBalancer.Factory { 52 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() 57 static final class PickFirstBalancer extends LoadBalancer {
|
D | LoadBalancer.java | 101 public abstract class LoadBalancer { class 672 public abstract LoadBalancer newLoadBalancer(Helper helper); in newLoadBalancer()
|
D | ManagedChannelBuilder.java | 231 public abstract T loadBalancerFactory(LoadBalancer.Factory loadBalancerFactory); in loadBalancerFactory()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | ForwardingLoadBalancerHelperTest.java | 23 import io.grpc.LoadBalancer; 36 private final LoadBalancer.Helper mockDelegate = mock(LoadBalancer.Helper.class); 40 protected LoadBalancer.Helper delegate() { in delegate() 49 LoadBalancer.Helper.class, in allMethodsForwarded()
|
D | RoundRobinLoadBalancerTest.java | 53 import io.grpc.LoadBalancer; 54 import io.grpc.LoadBalancer.Helper; 55 import io.grpc.LoadBalancer.PickResult; 56 import io.grpc.LoadBalancer.PickSubchannelArgs; 57 import io.grpc.LoadBalancer.Subchannel; 58 import io.grpc.LoadBalancer.SubchannelPicker; 326 LoadBalancer.PickResult pickResult = pickerCaptor.getValue().pickSubchannel(mockArgs); in nameResolutionErrorWithNoChannels() 349 LoadBalancer.PickResult pickResult = pickerCaptor.getValue().pickSubchannel(mockArgs); in nameResolutionErrorWithActiveChannels() 353 LoadBalancer.PickResult pickResult2 = pickerCaptor.getValue().pickSubchannel(mockArgs); in nameResolutionErrorWithActiveChannels()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AutoConfiguredLoadBalancerFactoryTest.java | 30 import io.grpc.LoadBalancer; 31 import io.grpc.LoadBalancer.Helper; 32 import io.grpc.LoadBalancer.Subchannel; 33 import io.grpc.LoadBalancer.SubchannelPicker; 63 LoadBalancer lb = lbf.newLoadBalancer(new TestHelper()); in newLoadBalancer_isAuto() 132 LoadBalancer oldDelegate = lb.getDelegate(); in handleResolvedAddressGroups_keepOldBalancer() 198 LoadBalancer.Factory factory = in decideLoadBalancerFactory_noBalancerAddresses_noServiceConfig_pickFirst() 212 LoadBalancer.Factory factory = AutoConfiguredLoadBalancer.decideLoadBalancerFactory( in decideLoadBalancerFactory_oneBalancer_noServiceConfig_grpclb() 227 LoadBalancer.Factory factory = AutoConfiguredLoadBalancer.decideLoadBalancerFactory( in decideLoadBalancerFactory_grpclbOverridesServiceConfig() 242 LoadBalancer.Factory factory = AutoConfiguredLoadBalancer.decideLoadBalancerFactory( in decideLoadBalancerFactory_serviceConfigOverridesDefault() [all …]
|
D | ManagedChannelImplIdlenessTest.java | 41 import io.grpc.LoadBalancer; 42 import io.grpc.LoadBalancer.Helper; 43 import io.grpc.LoadBalancer.PickResult; 44 import io.grpc.LoadBalancer.PickSubchannelArgs; 45 import io.grpc.LoadBalancer.Subchannel; 46 import io.grpc.LoadBalancer.SubchannelPicker; 104 @Mock private LoadBalancer mockLoadBalancer; 105 @Mock private LoadBalancer.Factory mockLoadBalancerFactory;
|
D | AbstractManagedChannelImplBuilderTest.java | 36 import io.grpc.LoadBalancer; 131 LoadBalancer.Factory loadBalancerFactory = mock(LoadBalancer.Factory.class); in loadBalancerFactory_normal() 138 LoadBalancer.Factory defaultValue = builder.loadBalancerFactory; in loadBalancerFactory_null() 139 builder.loadBalancerFactory(mock(LoadBalancer.Factory.class)); in loadBalancerFactory_null() 146 directAddressBuilder.loadBalancerFactory(mock(LoadBalancer.Factory.class)); in loadBalancerFactory_notAllowedWithDirectAddress()
|
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/ |
D | GrpclbLoadBalancerFactory.java | 20 import io.grpc.LoadBalancer; 33 public class GrpclbLoadBalancerFactory extends LoadBalancer.Factory { 45 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer()
|
D | SubchannelPool.java | 21 import io.grpc.LoadBalancer.Helper; 22 import io.grpc.LoadBalancer.Subchannel;
|
D | CachedSubchannelPool.java | 25 import io.grpc.LoadBalancer.Helper; 26 import io.grpc.LoadBalancer.Subchannel;
|
D | GrpclbLoadBalancer.java | 27 import io.grpc.LoadBalancer; 45 class GrpclbLoadBalancer extends LoadBalancer implements InternalWithLogId {
|
D | GrpclbState.java | 37 import io.grpc.LoadBalancer.Helper; 38 import io.grpc.LoadBalancer.PickResult; 39 import io.grpc.LoadBalancer.PickSubchannelArgs; 40 import io.grpc.LoadBalancer.Subchannel; 41 import io.grpc.LoadBalancer.SubchannelPicker;
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
D | ForwardingLoadBalancerHelper.java | 24 import io.grpc.LoadBalancer.Subchannel; 25 import io.grpc.LoadBalancer.SubchannelPicker; 26 import io.grpc.LoadBalancer; 32 public abstract class ForwardingLoadBalancerHelper extends LoadBalancer.Helper { 36 protected abstract LoadBalancer.Helper delegate(); in delegate()
|
D | RoundRobinLoadBalancerFactory.java | 35 import io.grpc.LoadBalancer; 36 import io.grpc.LoadBalancer.PickResult; 37 import io.grpc.LoadBalancer.PickSubchannelArgs; 38 import io.grpc.LoadBalancer.Subchannel; 39 import io.grpc.LoadBalancer.SubchannelPicker; 71 public final class RoundRobinLoadBalancerFactory extends LoadBalancer.Factory { 98 public LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { in newLoadBalancer() 103 static final class RoundRobinLoadBalancer extends LoadBalancer {
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | LoadBalancerTest.java | 23 import io.grpc.LoadBalancer.PickResult; 24 import io.grpc.LoadBalancer.Subchannel; 202 private static class NoopHelper extends LoadBalancer.Helper { 210 ConnectivityState newState, LoadBalancer.SubchannelPicker newPicker) {} in updateBalancingState() 223 private static class EmptySubchannel extends LoadBalancer.Subchannel {
|
D | PickFirstLoadBalancerTest.java | 37 import io.grpc.LoadBalancer.Helper; 38 import io.grpc.LoadBalancer.PickResult; 39 import io.grpc.LoadBalancer.PickSubchannelArgs; 40 import io.grpc.LoadBalancer.Subchannel; 41 import io.grpc.LoadBalancer.SubchannelPicker;
|
/external/grpc-grpc-java/grpclb/ |
D | build.gradle | 1 description = "gRPC: GRPCLB LoadBalancer plugin"
|