question: public void stopIfRequired ( ) { if ( System . currentTimeMillis ( ) > stopAt ) { throw new IllegalStateException ( ) ; } }
target:  Check if it's time to stop processing. Processing auto-complete shouldn't take more than a few milliseconds. If processing is stopped, this methods throws an IllegalStateException