Class LocalSemaphoreNamedLockFactory.JVMSemaphore

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.Semaphore semaphore  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JVMSemaphore​(java.util.concurrent.Semaphore semaphore)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void release​(int perms)  
      boolean tryAcquire​(int perms, long time, java.util.concurrent.TimeUnit unit)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • semaphore

        private final java.util.concurrent.Semaphore semaphore
    • Constructor Detail

      • JVMSemaphore

        private JVMSemaphore​(java.util.concurrent.Semaphore semaphore)