@ AfterBatch public void afterBatch ( ) { long requestSequence = _requestSequence ; if ( ! _isFsync ) { return ; } _isFsync = false ; try { _storeFsync . fsync ( ) ; /* if (_tailSequence < requestSequence) { _storeFsync.fsync(); } */ } catch ( Throwable e ) { e . printStackTrace ( ) ; } finally { _tailSequence = requestSequence ; } }
Completes any fsyncs in a batch .