Home
last modified time | relevance | path

Searched refs:eag (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/
DLoadBalancerTest.java41 private final EquivalentAddressGroup eag = new EquivalentAddressGroup(new SocketAddress() {}); field in LoadBalancerTest
131 assertThat(addrsIn.get(0)).isSameAs(eag); in helper_createSubchannel_delegates()
139 assertThat(helper.createSubchannel(eag, attrs)).isSameAs(subchannel); in helper_createSubchannel_delegates()
145 new NoopHelper().createSubchannel(Arrays.asList(eag), attrs); in helper_createSubchannelList_throws()
158 assertThat(addrsIn.get(0)).isSameAs(eag); in helper_updateSubchannelAddresses_delegates()
164 helper.updateSubchannelAddresses(emptySubchannel, eag); in helper_updateSubchannelAddresses_delegates()
170 new NoopHelper().updateSubchannelAddresses(null, Arrays.asList(eag)); in helper_updateSubchannelAddressesList_throws()
180 return Arrays.asList(eag); in subchannel_getAddresses_delegates()
185 assertThat(subchannel.getAddresses()).isEqualTo(eag); in subchannel_getAddresses_delegates()
197 return Arrays.asList(eag, eag); in subchannel_getAddresses_throwsOnTwoAddrs()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DForwardingLoadBalancerHelper.java61 public ManagedChannel createOobChannel(EquivalentAddressGroup eag, String authority) { in createOobChannel() argument
62 return delegate().createOobChannel(eag, authority); in createOobChannel()
66 public void updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag) { in updateOobChannelAddresses() argument
67 delegate().updateOobChannelAddresses(channel, eag); in updateOobChannelAddresses()
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DCachedSubchannelPool.java54 EquivalentAddressGroup eag, Attributes defaultAttributes) { in takeOrCreateSubchannel() argument
55 CacheEntry entry = cache.remove(eag); in takeOrCreateSubchannel()
58 subchannel = helper.createSubchannel(eag, defaultAttributes); in takeOrCreateSubchannel()
DGrpclbState.java240 for (EquivalentAddressGroup eag : fallbackBackendList) { in useFallbackBackends()
242 newBackendAddrList.add(new BackendAddressGroup(eag, null)); in useFallbackBackends()
351 EquivalentAddressGroup eag = backendAddr.getAddresses(); in useRoundRobinLists() local
352 Subchannel subchannel = newSubchannelMap.get(eag); in useRoundRobinLists()
354 subchannel = subchannels.get(eag); in useRoundRobinLists()
361 subchannel = subchannelPool.takeOrCreateSubchannel(eag, subchannelAttrs); in useRoundRobinLists()
364 newSubchannelMap.put(eag, subchannel); in useRoundRobinLists()
378 EquivalentAddressGroup eag = entry.getKey(); in useRoundRobinLists() local
379 if (!newSubchannelMap.containsKey(eag)) { in useRoundRobinLists()
591 EquivalentAddressGroup eag = in handleResponse() local
[all …]
DSubchannelPool.java43 Subchannel takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes); in takeOrCreateSubchannel() argument
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DLoadBalancer.java535 public abstract ManagedChannel createOobChannel(EquivalentAddressGroup eag, String authority); in createOobChannel() argument
546 public void updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag) { in updateOobChannelAddresses() argument
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAutoConfiguredLoadBalancerFactoryTest.java288 public ManagedChannel createOobChannel(EquivalentAddressGroup eag, String authority) { in channelTracing_lbPolicyChanged()
390 public ManagedChannel createOobChannel(EquivalentAddressGroup eag, String authority) { in createOobChannel() argument
391 return delegate().createOobChannel(eag, authority); in createOobChannel()
DDnsNameResolverTest.java361 EquivalentAddressGroup eag = result.get(0); in doNotResolveWhenProxyDetected() local
362 assertThat(eag.getAddresses()).hasSize(1); in doNotResolveWhenProxyDetected()
364 ProxySocketAddress socketAddress = (ProxySocketAddress) eag.getAddresses().get(0); in doNotResolveWhenProxyDetected()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DOobChannel.java188 void updateAddresses(EquivalentAddressGroup eag) { in updateAddresses() argument
189 subchannel.updateAddresses(Collections.singletonList(eag)); in updateAddresses()
DManagedChannelImpl.java1223 public void updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag) { in updateOobChannelAddresses() argument
1226 ((OobChannel) channel).updateAddresses(eag); in updateOobChannelAddresses()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DCachedSubchannelPoolTest.java81 EquivalentAddressGroup eag = (EquivalentAddressGroup) invocation.getArguments()[0]; in setUp()
83 when(subchannel.getAddresses()).thenReturn(eag); in setUp()
DGrpclbLoadBalancerTest.java222 EquivalentAddressGroup eag = (EquivalentAddressGroup) invocation.getArguments()[0]; in setUp()
224 when(subchannel.getAddresses()).thenReturn(eag); in setUp()
743 EquivalentAddressGroup eag = resolvedServers.get(0); in nameResolutionFailsThenRecoverToGrpclb() local
748 verify(helper).createOobChannel(eq(eag), eq(lbAuthority(0))); in nameResolutionFailsThenRecoverToGrpclb()
1558 EquivalentAddressGroup eag = in createResolvedServerAddresses() local
1562 list.add(eag); in createResolvedServerAddresses()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java116 EquivalentAddressGroup eag = new EquivalentAddressGroup(addr); in setUp() local
117 servers.add(eag); in setUp()
119 when(sc.getAddresses()).thenReturn(eag); in setUp()
120 subchannels.put(eag, sc); in setUp()
/external/one-true-awk/testdir/
Dtest.data47 1933 eag