question: public void addedDocument ( int commitWithin ) { if ( docsUpperBound > 0 ) { long docs = docsSinceCommit . incrementAndGet ( ) ; if ( docs == docsUpperBound + 1 ) { docsSinceCommit . set ( 0 ) ; _scheduleCommitWithin ( DOC_COMMIT_DELAY_MS ) ; } } _scheduleCommitWithinIfNeeded ( commitWithin ) ; }
target:  Indicate that documents have been added