Class SingleLock.SingleLockManagedBlocker

  • All Implemented Interfaces:
    java.util.concurrent.ForkJoinPool.ManagedBlocker
    Enclosing class:
    SingleLock

    private class SingleLock.SingleLockManagedBlocker
    extends java.lang.Object
    implements java.util.concurrent.ForkJoinPool.ManagedBlocker
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean acquired  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean block()  
      boolean isReleasable()  
      • Methods inherited from class java.lang.Object

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

      • acquired

        private boolean acquired
    • Constructor Detail

      • SingleLockManagedBlocker

        private SingleLockManagedBlocker()
    • Method Detail

      • block

        public boolean block()
                      throws java.lang.InterruptedException
        Specified by:
        block in interface java.util.concurrent.ForkJoinPool.ManagedBlocker
        Throws:
        java.lang.InterruptedException
      • isReleasable

        public boolean isReleasable()
        Specified by:
        isReleasable in interface java.util.concurrent.ForkJoinPool.ManagedBlocker