public void scheduleFsync(long sequence,K key,Result<Boolean> result){
  _requestSequence=Math.max(_requestSequence,sequence);
  if (sequence <= _tailSequence) {
    result.ok(Boolean.TRUE);
  }
 else {
    _storeFsync.addResult(key,result);
  }
}

public void scheduleFsync ( long sequence , K key , Result < Boolean > result ) { _requestSequence = Math . max ( _requestSequence , sequence ) ; if ( sequence <= _tailSequence ) { result . ok ( Boolean . TRUE ) ; } else { _storeFsync . addResult ( key , result ) ; } }
schedule an fsync for the given sequence , but do not request a flush . the fsync can occur before the flush , depending on other clients .
