Home
last modified time | relevance | path

Searched refs:getAddresses (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DCachedSubchannelPool.java68 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()
DLbAddressGroup.java35 EquivalentAddressGroup getAddresses() { in getAddresses() method in LbAddressGroup
DBackendAddressGroup.java34 EquivalentAddressGroup getAddresses() { in getAddresses() method in BackendAddressGroup
DGrpclbState.java266 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/
DLoadBalancerTest.java185 assertThat(subchannel.getAddresses()).isEqualTo(eag); in subchannel_getAddresses_delegates()
199 }.getAddresses(); in subchannel_getAddresses_throwsOnTwoAddrs()
DPickFirstLoadBalancerTest.java87 when(mockSubchannel.getAddresses()).thenThrow(new UnsupportedOperationException()); in setUp()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DEquivalentAddressGroup.java82 public List<SocketAddress> getAddresses() { in getAddresses() method in EquivalentAddressGroup
DLoadBalancer.java635 public EquivalentAddressGroup getAddresses() { in getAddresses() method in LoadBalancer.Subchannel
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DInternalSubchannel.java747 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/
DGrpclbLoadBalancerTest.java224 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()
DCachedSubchannelPoolTest.java83 when(subchannel.getAddresses()).thenReturn(eag); in setUp()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DRoundRobinLoadBalancerFactory.java198 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/
DDnsNameResolverTest.java362 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()
DManagedChannelImplIdlenessTest.java330 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()
DManagedChannelImplTest.java1059 assertSame(addressGroup, sub1.getAddresses()); in subchannels()
1060 assertSame(addressGroup, sub2.getAddresses()); in subchannels()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java119 when(sc.getAddresses()).thenReturn(eag); in setUp()
679 newServers.remove(sc2.getAddresses()); in stickiness_oneSubchannelShutdown()