public WriterFlushResult withFlushResult ( WriterFlushResult flushResult ) { this . flushedBytes . addAndGet ( flushResult . flushedBytes . get ( ) ) ; this . mergedBytes . addAndGet ( flushResult . mergedBytes . get ( ) ) ; this . flushedAttributes . addAndGet ( flushResult . flushedAttributes . get ( ) ) ; return this ; }
Adds the given WriterFlushResult to this one .