/** {@inheritDoc} */ @Override public long getTotalCompletedTasksCount() { return exec.completedTasks(); }
/** * @throws Exception If failed. */ @Test public void testCompletedTasks() throws Exception { stripedExecSvc.execute(0, new TestRunnable()); stripedExecSvc.execute(1, new TestRunnable()); sleepASec(); assertEquals(2, stripedExecSvc.completedTasks()); }
/** {@inheritDoc} */ @Override public long getTotalCompletedTasksCount() { return exec.completedTasks(); }