public void writeRaw(final long offset,final ByteBuffer transfer) throws IOException {
  if (log.isDebugEnabled())   log.debug("writeRaw: " + offset);
  final Lock lock=m_extensionLock.readLock();
  lock.lock();
  try {
    FileChannelUtility.writeAll(m_reopener,transfer,offset);
  }
  finally {
    lock.unlock();
  }
}

public void writeRaw ( final long offset , final ByteBuffer transfer ) throws IOException { if ( log . isDebugEnabled ( ) ) log . debug ( "writeRaw: " + offset ) ; final Lock lock = m_extensionLock . readLock ( ) ; lock . lock ( ) ; try { FileChannelUtility . writeAll ( m_reopener , transfer , offset ) ; } finally { lock . unlock ( ) ; } }
used as part of the rebuild protocol
