Class Locks


  • public final class Locks
    extends Object
    A utility class to create Lock objects.
    • Method Detail

      • reentrantLock

        public static ExtendedLock reentrantLock()
      • reentrantLock

        public static ExtendedLock reentrantLock​(boolean fair)