/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/ |
D | CachedSubchannelPool.java | 68 CacheEntry prev = cache.get(subchannel.getAddresses()); in returnSubchannel() 85 cache.put(subchannel.getAddresses(), entry); in returnSubchannel() 126 CacheEntry entry = cache.remove(subchannel.getAddresses()); in run()
|
D | LbAddressGroup.java | 35 EquivalentAddressGroup getAddresses() { in getAddresses() method in LbAddressGroup
|
D | BackendAddressGroup.java | 34 EquivalentAddressGroup getAddresses() { in getAddresses() method in BackendAddressGroup
|
D | GrpclbState.java | 266 lbAddressGroup.getAddresses(), lbAddressGroup.getAuthority()); in startLbComm() 268 helper.updateOobChannelAddresses(lbCommChannel, lbAddressGroup.getAddresses()); in startLbComm() 273 lbAddressGroup.getAddresses(), lbAddressGroup.getAuthority()); in startLbComm() 351 EquivalentAddressGroup eag = backendAddr.getAddresses(); in useRoundRobinLists() 736 eags.add(group.getAddresses()); in flattenLbAddressGroups() 757 addrs.addAll(group.getAddresses()); in flattenEquivalentAddressGroup()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | LoadBalancerTest.java | 185 assertThat(subchannel.getAddresses()).isEqualTo(eag); in subchannel_getAddresses_delegates() 199 }.getAddresses(); in subchannel_getAddresses_throwsOnTwoAddrs()
|
D | PickFirstLoadBalancerTest.java | 87 when(mockSubchannel.getAddresses()).thenThrow(new UnsupportedOperationException()); in setUp()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | EquivalentAddressGroup.java | 82 public List<SocketAddress> getAddresses() { in getAddresses() method in EquivalentAddressGroup
|
D | LoadBalancer.java | 635 public EquivalentAddressGroup getAddresses() { in getAddresses() method in LoadBalancer.Subchannel
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | InternalSubchannel.java | 747 if (addressIndex >= group.getAddresses().size()) { 759 return addressGroups.get(groupIndex).getAddresses().get(addressIndex); 780 int j = group.getAddresses().indexOf(needle);
|
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/ |
D | GrpclbLoadBalancerTest.java | 224 when(subchannel.getAddresses()).thenReturn(eag); in setUp() 807 grpclbResolutionList2.get(0).getAddresses().get(0), in grpclbUpdatedAddresses_avoidsReconnect() 808 grpclbResolutionList2.get(2).getAddresses().get(0)), in grpclbUpdatedAddresses_avoidsReconnect() 881 subchannel1.getAddresses()); in grpclbWorking() 884 subchannel2.getAddresses()); in grpclbWorking() 966 subchannel3.getAddresses()); in grpclbWorking() 1104 resolutionList.get(0).getAddresses().get(0), in subtestGrpclbFallbackInitialTimeout() 1105 resolutionList.get(1).getAddresses().get(0)), in subtestGrpclbFallbackInitialTimeout()
|
D | CachedSubchannelPoolTest.java | 83 when(subchannel.getAddresses()).thenReturn(eag); in setUp()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
D | RoundRobinLoadBalancerFactory.java | 198 if (subchannels.get(subchannel.getAddresses()) != subchannel) { in handleSubchannelState() 292 addrs.add(new EquivalentAddressGroup(group.getAddresses())); in stripAttrs()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | DnsNameResolverTest.java | 362 assertThat(eag.getAddresses()).hasSize(1); in doNotResolveWhenProxyDetected() 364 ProxySocketAddress socketAddress = (ProxySocketAddress) eag.getAddresses().get(0); in doNotResolveWhenProxyDetected() 710 (InetSocketAddress) Iterables.getOnlyElement(addrGroup.getAddresses()); in assertAnswerMatches()
|
D | ManagedChannelImplIdlenessTest.java | 330 List<SocketAddress> changedList = new ArrayList<>(servers.get(0).getAddresses()); in updateSubchannelAddresses_existingAddressDoesNotConnect() 420 List<SocketAddress> changedList = new ArrayList<>(servers.get(0).getAddresses()); in updateOobChannelAddresses_existingAddressDoesNotConnect()
|
D | ManagedChannelImplTest.java | 1059 assertSame(addressGroup, sub1.getAddresses()); in subchannels() 1060 assertSame(addressGroup, sub2.getAddresses()); in subchannels()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | RoundRobinLoadBalancerTest.java | 119 when(sc.getAddresses()).thenReturn(eag); in setUp() 679 newServers.remove(sc2.getAddresses()); in stickiness_oneSubchannelShutdown()
|