public void lockFlushing(){
  flushLock.lock();
}

public void lockFlushing ( ) { flushLock . lock ( ) ; }
lock the flushing mechanism in order to prevent a thread flushing this buffer while another thread is doing a physiological operation .
