Class CompositeLock.CompositeLockManagedBlocker

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

    private class CompositeLock.CompositeLockManagedBlocker
    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

      • CompositeLockManagedBlocker

        private CompositeLockManagedBlocker()
    • 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