Searched refs:releaser (Results 1 – 3 of 3) sorted by relevance
864 private final Runnable releaser; field in JSR166TestCase.PoolCleanerWithReleaser865 public PoolCleanerWithReleaser(ExecutorService pool, Runnable releaser) { in PoolCleanerWithReleaser() argument867 this.releaser = releaser; in PoolCleanerWithReleaser()871 releaser.run(); in close()882 PoolCleaner cleaner(ExecutorService pool, Runnable releaser) { in cleaner() argument883 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 JSR166TestCase898 return new PoolCleanerWithReleaser(pool, releaser(flag));901 Runnable releaser(final AtomicBoolean flag) {
639 final Runnable releaser = new Runnable() { public void run() { in testPurge() local643 try (PoolCleaner cleaner = cleaner(p, releaser)) { in testPurge() argument
691 final Runnable releaser = new Runnable() { public void run() { in testPurge() local695 try (PoolCleaner cleaner = cleaner(p, releaser)) { in testPurge() argument