Home
last modified time | relevance | path

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

/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbState.java328 TRANSIENT_FAILURE, new RoundRobinPicker(dropList, Arrays.asList(new ErrorEntry(status)))); in propagateError()
696 pickList.add(new ErrorEntry(error)); in maybeUpdatePicker()
872 static final class ErrorEntry implements RoundRobinEntry { class in GrpclbState
875 ErrorEntry(Status status) { in ErrorEntry() method in GrpclbState.ErrorEntry
891 if (!(other instanceof ErrorEntry)) { in equals()
894 return Objects.equal(result, ((ErrorEntry) other).result); in equals()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java67 import io.grpc.grpclb.GrpclbState.ErrorEntry;
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()
1089 ErrorEntry errorEntry = (ErrorEntry) Iterables.getOnlyElement(picker.pickList); in subtestGrpclbFallbackInitialTimeout()