Пример #1
0
  protected void writeBuffer() throws IOException {
    if (_fileCursor < 0 || _bufferSize <= 0) return;

    // the old file will be overwritten
    Path path = getFilePath(_fileCursor);
    // System.out.println( "write buffer: "+path.toString() );
    LocalFileUtils.writeBlockSequenceToLocal(path.toString(), _buffer, _bufferSize);
  }