question: waits until all enqueued operations are complete , but at most the given amount of milliseconds . if the thread gets interrupted , any interruptedexception will be rethrown as a daoexception . concode_field_sep int countOperationsEnqueued concode_elem_sep int waitForMergeMillis concode_elem_sep int countOperationsCompleted concode_elem_sep Handler handlerMainThread concode_elem_sep AsyncOperationListener listener concode_elem_sep int maxOperationCountToMerge concode_elem_sep int lastSequenceNumber concode_elem_sep BlockingQueue<AsyncOperation> queue concode_elem_sep boolean executorRunning concode_elem_sep AsyncOperationListener listenerMainThread concode_elem_sep ExecutorService executorService concode_field_sep void executeTransactionCallable concode_elem_sep int getWaitForMergeMillis concode_elem_sep void handleOperationCompleted concode_elem_sep boolean handleMessage concode_elem_sep void run concode_elem_sep void mergeTxAndExecute concode_elem_sep int getMaxOperationCountToMerge concode_elem_sep void enqueue concode_elem_sep void executeOperationAndPostCompleted concode_elem_sep void setMaxOperationCountToMerge concode_elem_sep AsyncOperationListener getListenerMainThread concode_elem_sep void setListenerMainThread concode_elem_sep void executeOperation concode_elem_sep void setListener concode_elem_sep void setWaitForMergeMillis concode_elem_sep AsyncOperationListener getListener concode_elem_sep boolean isCompleted concode_elem_sep void executeTransactionRunnable
target: boolean function ( int arg0 ) { if ( ! isCompleted ( ) ) { try { wait ( arg0 ) ; } catch ( InterruptedException loc0 ) { throw new DaoException ( "srini_string" , loc0 ) ; } } return isCompleted ( ) ; }