Searched refs:returnObject (Results 1 – 14 of 14) sorted by relevance
68 expectedPool.returnObject(expected); in scheduledExecutorService_default()69 scheduledExecutorServicePool.returnObject(actual); in scheduledExecutorService_default()87 scheduledExecutorServicePool.returnObject(scheduledExecutorService); in scheduledExecutorService_custom()
59 public ScheduledExecutorService returnObject(Object returned) { in serverHoldsRefToScheduler() method in InProcessServerTest.RefCountingObjectPool
36 T returnObject(Object object); in returnObject() method
37 public T returnObject(Object returned) { in returnObject() method in FixedObjectPool
40 public T returnObject(Object object) { in returnObject() method in SharedResourcePool
278 executorPool.returnObject(executor); in handleSubchannelTerminated()
320 executor = executorPool.returnObject(executor); in checkForTermination()
849 executorPool.returnObject(executor); in maybeTerminateChannel()
92 scheduler = schedulerPool.returnObject(scheduler); in shutdown()
261 serverScheduler = serverSchedulerPool.returnObject(serverScheduler);
116 timerService = timerServicePool.returnObject(timerService); in shutdown()
320 verify(executorPool, never()).returnObject(anyObject()); in shutdownWithNoTransportsEverCreated()326 verify(executorPool).returnObject(executor.getScheduledExecutorService()); in shutdownWithNoTransportsEverCreated()543 verify(executorPool, never()).returnObject(anyObject()); in subtestCallsAndShutdown()546 verify(executorPool).returnObject(executor.getScheduledExecutorService()); in subtestCallsAndShutdown()1224 verify(oobExecutorPool, never()).returnObject(anyObject()); in oobchannels()1229 verify(oobExecutorPool).returnObject(oobExecutor.getScheduledExecutorService()); in oobchannels()1260 verify(oobExecutorPool).returnObject(oobExecutor.getScheduledExecutorService()); in oobchannels()1264 verify(oobExecutorPool, times(2)).returnObject(oobExecutor.getScheduledExecutorService()); in oobchannels()
1338 verify(executorPool, never()).returnObject(any(Executor.class)); in verifyExecutorsNotReturned()1342 verify(executorPool).returnObject(same(executor.getScheduledExecutorService())); in verifyExecutorsReturned()
713 verify(timerServicePool).returnObject(same(fakeClock.getScheduledExecutorService())); in acquireAndReleaseScheduledExecutor()