Searched refs:timerServicePool (Results 1 – 2 of 2) sorted by relevance
49 private final ObjectPool<ScheduledExecutorService> timerServicePool; field in GrpclbLoadBalancer60 ObjectPool<ScheduledExecutorService> timerServicePool, in GrpclbLoadBalancer() argument64 this.timerServicePool = checkNotNull(timerServicePool, "timerServicePool"); in GrpclbLoadBalancer()65 this.timerService = checkNotNull(timerServicePool.getObject(), "timerService"); in GrpclbLoadBalancer()116 timerService = timerServicePool.returnObject(timerService); in shutdown()
168 private ObjectPool<ScheduledExecutorService> timerServicePool; field in GrpclbLoadBalancerTest251 when(timerServicePool.getObject()).thenReturn(timerService); in setUp()258 timerServicePool, in setUp()709 verify(timerServicePool).getObject(); in acquireAndReleaseScheduledExecutor()710 verifyNoMoreInteractions(timerServicePool); in acquireAndReleaseScheduledExecutor()713 verify(timerServicePool).returnObject(same(fakeClock.getScheduledExecutorService())); in acquireAndReleaseScheduledExecutor()714 verifyNoMoreInteractions(timerServicePool); in acquireAndReleaseScheduledExecutor()