- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for runningTasks (0.07 sec)
-
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
/** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */ private final Object lock = new Object(); /* * Conceptually, these two variables describe the executor being in * one of three states: * - Active: shutdown == false * - Shutdown: runningTasks > 0 and shutdown == true * - Terminated: runningTasks == 0 and shutdown == true */ @GuardedBy("lock")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
runningTask = scheduler().schedule(delegate, executorService, task); notifyStarted(); } catch (Throwable t) { restoreInterruptIfIsInterruptedException(t); notifyFailed(t); if (runningTask != null) { // prevent the task from running if possible runningTask.cancel(false); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 16:22:21 UTC 2024 - 27.8K bytes - Viewed (0)