Searched refs:LongHolder (Results 1 – 2 of 2) sorted by relevance
61 private static final class LongHolder { class in GrpclbClientLoadRecorder67 private Map<String, LongHolder> callsDroppedPerToken = new HashMap<String, LongHolder>(1);91 LongHolder holder; in recordDroppedRequest()93 callsDroppedPerToken.put(token, (holder = new LongHolder())); in recordDroppedRequest()111 Map<String, LongHolder> localCallsDroppedPerToken = Collections.emptyMap(); in generateLoadReport()115 callsDroppedPerToken = new HashMap<String, LongHolder>(localCallsDroppedPerToken.size()); in generateLoadReport()118 for (Entry<String, LongHolder> entry : localCallsDroppedPerToken.entrySet()) { in generateLoadReport()
262 bind(LongHolder.class); in testToInstanceIsTreatedLikeConstant()266 assertEquals(5L, (long) injector.getInstance(LongHolder.class).foo); in testToInstanceIsTreatedLikeConstant()269 static class LongHolder { class in TypeConversionTest