Interface AdaptedSemaphoreNamedLock.AdaptedSemaphore

    • Method Detail

      • tryAcquire

        boolean tryAcquire​(int perms,
                           long time,
                           java.util.concurrent.TimeUnit unit)
                    throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • release

        void release​(int perms)