private void postBufferAccess(){
  _lock.lock();
  try {
    if (--_bufferUseCount == 0) {
      _flushReady.signalAll();
    }
  }
  finally {
    _lock.unlock();
  }
}

private void postBufferAccess ( ) { _lock . lock ( ) ; try { if ( -- _bufferUseCount == 0 ) { _flushReady . signalAll ( ) ; } } finally { _lock . unlock ( ) ; } }
called after a block is read from or written to .
