Package com.caucho.db.lock

Examples of com.caucho.db.lock.Lock.unlockRead()


          return removeWrite(childBlock, keyBuffer, keyOffset, keyLength);
      } finally {
        childBlock.free();
      }
    } finally {
      blockLock.unlockRead();
    }
  }

  /**
   * Recursively remove a key from the index.
View Full Code Here


    if (_readLocks != null) {
      for (int i = 0; i < _readLocks.size(); i++) {
  Lock lock = _readLocks.get(i);

  try {
    lock.unlockRead();
  } catch (Throwable e) {
    log.log(Level.WARNING, e.toString(), e);
  }
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.