Here you can find the source of releaseReadLock(final ReadWriteLock lock)
public static void releaseReadLock(final ReadWriteLock lock)
//package com.java2s; //License from project: Open Source License import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; public class Main { public static void releaseReadLock(final ReadWriteLock lock) { releaseLock(lock.readLock());//from ww w . j ava2 s . com } public static void releaseLock(final Lock lock) { lock.unlock(); } }