private void completePendingFlush(){
  int size=_pendingFlushEntries.size();
  if (size == 0) {
    return;
  }
  for (int i=0; i < size; i++) {
    PendingEntry entry=_pendingFlushEntries.get(i);
    entry.afterFlush();
    _pendingFsyncEntries.add(entry);
  }
  _pendingFlushEntries.clear();
}

private void completePendingFlush ( ) { int size = _pendingFlushEntries . size ( ) ; if ( size == 0 ) { return ; } for ( int i = 0 ; i < size ; i ++ ) { PendingEntry entry = _pendingFlushEntries . get ( i ) ; entry . afterFlush ( ) ; _pendingFsyncEntries . add ( entry ) ; } _pendingFlushEntries . clear ( ) ; }
notifies the calling service after the entry is written to the mmap . the entries will be added to the pending sync list .
