void scan ( ) { if ( acquireScanLock ( ) ) { boolean scheduleRescan = false ; try { scheduleRescan = scan ( false , deploymentOperations ) ; } finally { try { if ( scheduleRescan ) { synchronized ( this ) { if ( scanEnabled ) { rescanIncompleteTask = scheduledExecutor . schedule ( scanRunnable , 200 , TimeUnit . MILLISECONDS ) ; } } } } finally { releaseScanLock ( ) ; } } } }
Perform a normal scan