- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newSequentialExecutor (0.91 sec)
-
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
} @Override public String toString() { return "theDelegate"; } }; Executor sequential1 = newSequentialExecutor(delegate); Executor sequential2 = newSequentialExecutor(delegate); assertThat(sequential1.toString()).contains("theDelegate"); assertThat(sequential1.toString()).isNotEqualTo(sequential2.toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* </ul> * * <p>This class is similar to {@link MoreExecutors#newSequentialExecutor}. This class is different * in a few ways: * * <ul> * <li>Each task may be associated with a different executor. * <li>Tasks may be of type {@code AsyncCallable}. * <li>Running tasks <i>cannot</i> be interrupted. (Note that {@code newSequentialExecutor} does
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* scheduled again for future submissions. */ @GuardedBy("queue") private long workerRunCount = 0; @RetainedWith private final QueueWorker worker = new QueueWorker(); /** Use {@link MoreExecutors#newSequentialExecutor} */ SequentialExecutor(Executor executor) { this.executor = Preconditions.checkNotNull(executor); } /** * Adds a task to the queue and makes sure a worker thread is running. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0)