boolean function ( long arg0 ) { shutdown = true ; for ( GridWorker loc0 : workers ) loc0 . cancel ( ) ; while ( arg0 > 0 && ! workers . isEmpty ( ) ) { try { Thread . sleep ( 100 ) ; arg0 -= 100 ; } catch ( InterruptedException loc0 ) { break ; } } return workers . isEmpty ( ) ; }
shuts down this executor service . concode_field_sep Collection<GridWorker> workers concode_elem_sep AtomicInteger active concode_elem_sep String gridName concode_elem_sep int maxTasks concode_elem_sep IgniteLogger log concode_elem_sep GridWorkerListener lsnr concode_elem_sep LinkedBlockingQueue<Callable<?>> queue concode_elem_sep boolean shutdown concode_field_sep void submit concode_elem_sep int active concode_elem_sep void onStopped concode_elem_sep void startThread concode_elem_sep void startFromQueue concode_elem_sep boolean isShutdown