Home
last modified time | relevance | path

Searched refs:EmptyPicker (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DRoundRobinLoadBalancerFactory.java118 private RoundRobinPicker currentPicker = new EmptyPicker(EMPTY_OK);
193 currentPicker instanceof ReadyPicker ? currentPicker : new EmptyPicker(error)); in handleNameResolutionError()
254 new EmptyPicker(aggStatus)); in updateBalancingState()
473 static final class EmptyPicker extends RoundRobinPicker { class in RoundRobinLoadBalancerFactory
477 EmptyPicker(@Nonnull Status status) { in EmptyPicker() method in RoundRobinLoadBalancerFactory.EmptyPicker
488 return picker instanceof EmptyPicker && (Objects.equal(status, ((EmptyPicker) picker).status) in isEquivalentTo()
489 || (status.isOk() && ((EmptyPicker) picker).status.isOk())); in isEquivalentTo()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java63 import io.grpc.util.RoundRobinLoadBalancerFactory.EmptyPicker;
261 inOrder.verify(mockHelper).updateBalancingState(eq(CONNECTING), isA(EmptyPicker.class)); in pickAfterStateChange()
277 assertThat(pickerCaptor.getValue()).isInstanceOf(EmptyPicker.class); in pickAfterStateChange()
314 SubchannelPicker picker = new EmptyPicker(Status.UNKNOWN); in pickerEmptyList()
383 assertThat(pickers.next()).isInstanceOf(EmptyPicker.class); in subchannelStateIsolation()
737 EmptyPicker emptyOk1 = new EmptyPicker(Status.OK); in internalPickerComparisons()
738 EmptyPicker emptyOk2 = new EmptyPicker(Status.OK.withDescription("different OK")); in internalPickerComparisons()
739 EmptyPicker emptyErr = new EmptyPicker(Status.UNKNOWN.withDescription("¯\\_(ツ)_//¯")); in internalPickerComparisons()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAutoConfiguredLoadBalancerFactory.java101 helper.updateBalancingState(ConnectivityState.CONNECTING, new EmptyPicker()); in handleResolvedAddressGroups()
206 private static final class EmptyPicker extends SubchannelPicker { class in AutoConfiguredLoadBalancerFactory