- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for RejectedExecutionException (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
throw new RejectedExecutionException(); } r.run(); } }); Runnable task = new Runnable() { @Override public void run() { numCalls.incrementAndGet(); } }; assertThrows(RejectedExecutionException.class, () -> executor.execute(task));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
/** * Checks if the executor has been shut down and increments the running task count. * * @throws RejectedExecutionException if the executor has been previously shutdown */ private void startTask() { synchronized (lock) { if (shutdown) { throw new RejectedExecutionException("Executor already shutdown"); } runningTasks++; } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:23:59 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.util.concurrent.AbstractExecutorService import java.util.concurrent.RejectedExecutionException import java.util.concurrent.TimeUnit import okhttp3.internal.connection.RealCall import okhttp3.internal.finishedAccessor /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 18:34:01 GMT 2025 - 2.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
assertThat(exception.cause) .isNotNull() .matchesPredicate { it is InterruptedException || it is RejectedExecutionException } assertThat(clientTestRule.takeUncaughtException()) .matchesPredicate { it == null || it is RejectedExecutionException } } private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong())
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
*/ package com.google.common.util.concurrent; import com.google.errorprone.annotations.DoNotMock; import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.RejectedExecutionException; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A {@link Future} that accepts completion listeners. Each listener has an associated executor, andCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
import com.google.j2objc.annotations.RetainedWith; import java.util.ArrayDeque; import java.util.Deque; import java.util.concurrent.Executor; import java.util.concurrent.RejectedExecutionException; import java.util.logging.Level; import org.jspecify.annotations.Nullable; /** * Executor ensuring that all Runnables submitted are executed in order, using the provided
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/SequentialExecutor.java
import com.google.j2objc.annotations.RetainedWith; import java.util.ArrayDeque; import java.util.Deque; import java.util.concurrent.Executor; import java.util.concurrent.RejectedExecutionException; import java.util.logging.Level; import org.jspecify.annotations.Nullable; /** * Executor ensuring that all Runnables submitted are executed in order, using the provided
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.FutureTask; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.ThreadFactory;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
checkNotNull(future); if (delegate == directExecutor()) { // directExecutor() cannot throw RejectedExecutionException return delegate; } return command -> { try { delegate.execute(command); } catch (RejectedExecutionException e) { future.setException(e); } }; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 45.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicInteger;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0)