Home
last modified time | relevance | path

Searched refs:releaser (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java864 private final Runnable releaser; field in JSR166TestCase.PoolCleanerWithReleaser
865 public PoolCleanerWithReleaser(ExecutorService pool, Runnable releaser) { in PoolCleanerWithReleaser() argument
867 this.releaser = releaser; in PoolCleanerWithReleaser()
871 releaser.run(); in close()
882 PoolCleaner cleaner(ExecutorService pool, Runnable releaser) { in cleaner() argument
883 return new PoolCleanerWithReleaser(pool, releaser); in cleaner()
887 return new PoolCleanerWithReleaser(pool, releaser(latch)); in cleaner()
890 Runnable releaser(final CountDownLatch latch) { in releaser() method in JSR166TestCase
898 return new PoolCleanerWithReleaser(pool, releaser(flag));
901 Runnable releaser(final AtomicBoolean flag) {
DScheduledExecutorTest.java639 final Runnable releaser = new Runnable() { public void run() { in testPurge() local
643 try (PoolCleaner cleaner = cleaner(p, releaser)) { in testPurge() argument
DScheduledExecutorSubclassTest.java691 final Runnable releaser = new Runnable() { public void run() { in testPurge() local
695 try (PoolCleaner cleaner = cleaner(p, releaser)) { in testPurge() argument