Groovy Documentation

Package gpars.util

 

Class Summary
EnhancedRWLock Extends ReentrantReadWriteLock with handy withReadLock(Closure) and withWriteLock(Closure) methods to safely lock and unlock the lock for the passed-in closure.
EnhancedSemaphore Extends Semaphore with a handy withSemaphore(Closure) method to safely acquire and release the Semaphore for the passed-in closure.
PoolUtils Provides a couple of utility methods to pools and schedulers.
 


Groovy Documentation