question: @ Override public void onSuccess ( DLSN value ) { if ( value . getLogSegmentSequenceNo ( ) != currentLogSegmentSeqNo ) { LOG . error ( "Ledger Seq No: {}, Expected: {}" , value . getLogSegmentSequenceNo ( ) , currentLogSegmentSeqNo ) ; errorsFound . set ( true ) ; } if ( verifyEntryId && value . getEntryId ( ) != currentEntryId ) { LOG . error ( "EntryId: {}, Expected: {}" , value . getEntryId ( ) , currentEntryId ) ; errorsFound . set ( true ) ; } syncLatch . countDown ( ) ; }
target:  Invoked if the computation completes successfully