Searched refs:addDelayedShutdownHook (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | MoreExecutors.java | 125 public static void addDelayedShutdownHook( in addDelayedShutdownHook() method in MoreExecutors 128 .addDelayedShutdownHook(service, terminationTimeout, timeUnit); in addDelayedShutdownHook() 179 addDelayedShutdownHook(service, terminationTimeout, timeUnit); in getExitingExecutorService() 187 addDelayedShutdownHook(service, terminationTimeout, timeUnit); in getExitingScheduledExecutorService() 191 final void addDelayedShutdownHook( in addDelayedShutdownHook() method in MoreExecutors.Application
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | MoreExecutorsTest.java | 515 application.addDelayedShutdownHook(service, 2, TimeUnit.SECONDS); in testAddDelayedShutdownHook_success() 526 application.addDelayedShutdownHook(service, 2, TimeUnit.SECONDS); in testAddDelayedShutdownHook_interrupted()
|