- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 260 for Executor (0.04 sec)
-
guava/src/com/google/common/eventbus/Dispatcher.java
* make sense for different situations. * * <p><b>Note:</b> The dispatcher is orthogonal to the subscriber's {@code Executor}. The dispatcher * controls the order in which events are dispatched, while the executor controls how (i.e. on which * thread) the subscriber is actually called when an event is dispatched to it. * * @author Colin Decker */ abstract class Dispatcher {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
} } /** * Registers a new searcher with the rank fusion processor. * Adds the searcher to the searchers list and initializes the executor service * if it hasn't been created yet. The executor service is created with a thread pool * sized based on configuration or system capabilities. * * @param searcher the RankFusionSearcher to register */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.util.concurrent.TestExceptions.SomeError; import java.util.concurrent.CancellationException; import java.util.concurrent.Executor; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Test for {@link FutureCallback}. * * @author Anthony Zana */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
CountDownLatch latch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int t = 0; t < threadCount; t++) { final int threadId = t; executor.submit(() -> { try { for (int i = 0; i < operationsPerThread; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(5, 6, "C"); int threadCount = 20; ExecutorService executor = newFixedThreadPool(threadCount); CyclicBarrier barrier = new CyclicBarrier(threadCount); ImmutableList.Builder<Future<?>> futures = ImmutableList.builder(); for (int i = 0; i < threadCount; i++) { futures.add( executor.submit( new Callable<@Nullable Void>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AsyncFunction.java
import org.jspecify.annotations.Nullable; /** * Transforms a value, possibly asynchronously. For an example usage and more information, see * {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}. * * @author Chris Povirk * @since 11.0 */ @GwtCompatible public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> { /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
public final Throwable failureCause() { return snapshot.failureCause(); } /** * @since 13.0 */ @Override public final void addListener(Listener listener, Executor executor) { listeners.addListener(listener, executor); } @Override public String toString() { return getClass().getSimpleName() + " [" + state() + "]"; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
.build(); Request request = new Request.Builder() .url("ws://echo.websocket.org") .build(); client.newWebSocket(request, this); // Trigger shutdown of the dispatcher's executor so this process exits immediately. client.dispatcher().executorService().shutdown(); } @Override public void onOpen(WebSocket webSocket, Response response) { webSocket.send("Hello...");
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Apr 04 11:40:21 UTC 2024 - 1.6K bytes - Viewed (0)