void freeReadLock(){
synchronized (READ_LOCK) {
    isReadLocked=false;
    READ_LOCK.notifyAll();
  }
}

void freeReadLock ( ) { synchronized ( READ_LOCK ) { isReadLocked = false ; READ_LOCK . notifyAll ( ) ; } }
frees the channel for reading .
