Home
last modified time | relevance | path

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

/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbState.java145 private List<BackendEntry> backendList = Collections.emptyList();
351 List<BackendEntry> newBackendList = new ArrayList<>(); in useRoundRobinLists()
369 BackendEntry entry; in useRoundRobinLists()
372 entry = new BackendEntry(subchannel); in useRoundRobinLists()
374 entry = new BackendEntry(subchannel, loadRecorder, backendAddr.getToken()); in useRoundRobinLists()
679 for (BackendEntry entry : backendList) { in maybeUpdatePicker()
811 static final class BackendEntry implements RoundRobinEntry { class in GrpclbState
822 BackendEntry(Subchannel subchannel, GrpclbClientLoadRecorder loadRecorder, String token) { in BackendEntry() method in GrpclbState.BackendEntry
831 BackendEntry(Subchannel subchannel) { in BackendEntry() method in GrpclbState.BackendEntry
862 if (!(other instanceof BackendEntry)) { in equals()
[all …]
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java65 import io.grpc.grpclb.GrpclbState.BackendEntry;
302 BackendEntry b1 = new BackendEntry(subchannel, loadRecorder, "LBTOKEN0001"); in roundRobinPickerNoDrop()
303 BackendEntry b2 = new BackendEntry(subchannel, loadRecorder, "LBTOKEN0002"); in roundRobinPickerNoDrop()
305 List<BackendEntry> pickList = Arrays.asList(b1, b2); in roundRobinPickerNoDrop()
344 BackendEntry b1 = new BackendEntry(subchannel, loadRecorder, "LBTOKEN0001"); in roundRobinPickerWithDrop()
345 BackendEntry b2 = new BackendEntry(subchannel, loadRecorder, "LBTOKEN0002"); in roundRobinPickerWithDrop()
346 List<BackendEntry> pickList = Arrays.asList(b1, b2); in roundRobinPickerWithDrop()
451 new BackendEntry(subchannel1, getLoadRecorder(), "token0001"), in loadReporting()
452 new BackendEntry(subchannel2, getLoadRecorder(), "token0002")).inOrder(); in loadReporting()
902 new BackendEntry(subchannel2, getLoadRecorder(), "token0002")); in grpclbWorking()
[all …]