Searched refs:DropEntry (Results 1 – 2 of 2) sorted by relevance
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/ |
D | GrpclbState.java | 143 private List<DropEntry> dropList = Collections.emptyList(); 147 new RoundRobinPicker(Collections.<DropEntry>emptyList(), Arrays.asList(BUFFER_ENTRY)); 241 List<DropEntry> newDropList = new ArrayList<>(); in useFallbackBackends() 345 List<DropEntry> newDropList, List<BackendAddressGroup> newBackendAddrList, in useRoundRobinLists() 575 List<DropEntry> newDropList = new ArrayList<>(); in handleResponse() 581 newDropList.add(new DropEntry(loadRecorder, token)); in handleResponse() 769 static final class DropEntry { class in GrpclbState 773 DropEntry(GrpclbClientLoadRecorder loadRecorder, String token) { in DropEntry() method in GrpclbState.DropEntry 798 if (!(other instanceof DropEntry)) { in equals() 801 DropEntry that = (DropEntry) other; in equals() [all …]
|
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/ |
D | GrpclbLoadBalancerTest.java | 66 import io.grpc.grpclb.GrpclbState.DropEntry; 306 RoundRobinPicker picker = new RoundRobinPicker(Collections.<DropEntry>emptyList(), pickList); in roundRobinPickerNoDrop() 341 DropEntry d = new DropEntry(loadRecorder, "LBTOKEN0003"); in roundRobinPickerWithDrop() 342 List<DropEntry> dropList = Arrays.asList(null, d); in roundRobinPickerWithDrop() 447 new DropEntry(getLoadRecorder(), "token0001"), in loadReporting() 449 new DropEntry(getLoadRecorder(), "token0003")).inOrder(); in loadReporting() 972 new DropEntry(getLoadRecorder(), "token0003"), in grpclbWorking() 975 new DropEntry(getLoadRecorder(), "token0006")).inOrder(); in grpclbWorking() 990 new DropEntry(getLoadRecorder(), "token0003"), in grpclbWorking() 993 new DropEntry(getLoadRecorder(), "token0006")).inOrder(); in grpclbWorking() [all …]
|