Home
last modified time | relevance | path

Searched refs:pickList (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbState.java676 List<RoundRobinEntry> pickList = new ArrayList<>(backendList.size()); in maybeUpdatePicker() local
684 pickList.add(entry); in maybeUpdatePicker()
692 if (pickList.isEmpty()) { in maybeUpdatePicker()
696 pickList.add(new ErrorEntry(error)); in maybeUpdatePicker()
700 pickList.add(BUFFER_ENTRY); in maybeUpdatePicker()
706 new Object[] {logId, dropList, pickList}); in maybeUpdatePicker()
709 maybeUpdatePicker(state, new RoundRobinPicker(dropList, pickList)); in maybeUpdatePicker()
720 && picker.pickList.equals(currentPicker.pickList)) { in maybeUpdatePicker()
912 final List<? extends RoundRobinEntry> pickList; field in GrpclbState.RoundRobinPicker
917 RoundRobinPicker(List<DropEntry> dropList, List<? extends RoundRobinEntry> pickList) { in RoundRobinPicker() argument
[all …]
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java305 List<BackendEntry> pickList = Arrays.asList(b1, b2); in roundRobinPickerNoDrop() local
306 RoundRobinPicker picker = new RoundRobinPicker(Collections.<DropEntry>emptyList(), pickList); in roundRobinPickerNoDrop()
346 List<BackendEntry> pickList = Arrays.asList(b1, b2); in roundRobinPickerWithDrop() local
347 RoundRobinPicker picker = new RoundRobinPicker(dropList, pickList); in roundRobinPickerWithDrop()
450 assertThat(picker.pickList).containsExactly( in loadReporting()
724 assertThat(picker.pickList).containsExactly(new ErrorEntry(error)); in nameResolutionFailsThenRecoverToDelegate()
740 assertThat(picker.pickList).containsExactly(new ErrorEntry(error)); in nameResolutionFailsThenRecoverToGrpclb()
774 assertThat(picker.pickList).containsExactly(new ErrorEntry(error)); in grpclbThenNameResolutionFails()
892 assertThat(picker0.pickList).containsExactly(BUFFER_ENTRY); in grpclbWorking()
901 assertThat(picker1.pickList).containsExactly( in grpclbWorking()
[all …]