Home
last modified time | relevance | path

Searched refs:returnObject (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessServerBuilderTest.java68 expectedPool.returnObject(expected); in scheduledExecutorService_default()
69 scheduledExecutorServicePool.returnObject(actual); in scheduledExecutorService_default()
87 scheduledExecutorServicePool.returnObject(scheduledExecutorService); in scheduledExecutorService_custom()
DInProcessServerTest.java59 public ScheduledExecutorService returnObject(Object returned) { in serverHoldsRefToScheduler() method in InProcessServerTest.RefCountingObjectPool
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DObjectPool.java36 T returnObject(Object object); in returnObject() method
DFixedObjectPool.java37 public T returnObject(Object returned) { in returnObject() method in FixedObjectPool
DSharedResourcePool.java40 public T returnObject(Object object) { in returnObject() method in SharedResourcePool
DOobChannel.java278 executorPool.returnObject(executor); in handleSubchannelTerminated()
DServerImpl.java320 executor = executorPool.returnObject(executor); in checkForTermination()
DManagedChannelImpl.java849 executorPool.returnObject(executor); in maybeTerminateChannel()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessServer.java92 scheduler = schedulerPool.returnObject(scheduler); in shutdown()
DInProcessTransport.java261 serverScheduler = serverSchedulerPool.returnObject(serverScheduler);
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbLoadBalancer.java116 timerService = timerServicePool.returnObject(timerService); in shutdown()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java320 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()
DServerImplTest.java1338 verify(executorPool, never()).returnObject(any(Executor.class)); in verifyExecutorsNotReturned()
1342 verify(executorPool).returnObject(same(executor.getScheduledExecutorService())); in verifyExecutorsReturned()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java713 verify(timerServicePool).returnObject(same(fakeClock.getScheduledExecutorService())); in acquireAndReleaseScheduledExecutor()