- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 194 for listeners (0.05 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
public void testSubmit() throws Exception { /* * Mostly just tests that TrustedListenableFutureTask are created and run; tests for * TrustedListenableFutureTask should ensure that listeners are called correctly. */ TestListeningExecutorService e = new TestListeningExecutorService(); TestRunnable runnable = new TestRunnable(); ListenableFuture<?> runnableFuture = e.submit(runnable);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
RunnableExecutorPair list; synchronized (this) { if (executed) { return; } executed = true; list = runnables; runnables = null; // allow GC to free listeners even if this stays around for a while. } while (list != null) { executeListener(list.runnable, list.executor); list = list.next; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
for (int k = 0; k < 50; k++) { // For each listener we add a task that submits it to the executor directly for the blocking // get use case and another task that adds it as a listener to the future to exercise both // racing addListener calls and addListener calls completing after the future completes. Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
cycle_suppress_list.txt
FIELD com.google.common.collect.TreeTraverser.PreOrderIterator.stack FIELD com.google.common.util.concurrent.AbstractFuture.Listener.executor com.google.common.util.concurrent.MoreExecutors.rejectionPropagatingExecutor.$ FIELD com.google.common.util.concurrent.AbstractService.listeners # NonReentrantExecutor is not exposed to this field
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 24 01:59:49 UTC 2025 - 3.2K bytes - Viewed (0) -
cmd/globals.go
// and Storage/OS calls info to registered listeners. globalTrace = pubsub.New[madmin.TraceInfo, madmin.TraceType](8) // global Listen system to send S3 API events to registered listeners globalHTTPListen = pubsub.New[event.Event, pubsub.Mask](0) // global console system to send console logs to // registered listeners globalConsoleSys *HTTPConsoleLoggerSys
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
*/ @Override public void addListener(Runnable listener, Executor exec) { executionList.add(listener, exec); } /** * Subclasses should invoke this method to set the result of the computation to {@code value}. * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke * the listeners if the state was successfully changed. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Validate that {@link EventBus} behaves carefully when listeners publish their own events. * * @author Jesse Wilson */ @NullUnmarked public class ReentrantEventsTest extends TestCase { static final String FIRST = "one"; static final Double SECOND = 2.0d;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
AbstractFutureState<?> future, @Nullable Listener expect, Listener update) { return UNSAFE.compareAndSwapObject(future, LISTENERS_OFFSET, expect, update); } @Override @Nullable Listener gasListeners(AbstractFutureState<?> future, Listener update) { while (true) { Listener listener = future.listenersField; if (update == listener) { return listener; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* lets all futures share the same listener. * * We store `localFuturesOrNull` inside the listener because `this.futures` might be nulled * out by the time the listener runs for the final future -- at which point we need to check * all inputs for exceptions *if* we're collecting values. If we're not, then the listener
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} @Override boolean casListeners( AbstractFutureState<?> future, @Nullable Listener expect, Listener update) { return listenersUpdater.compareAndSet(future, expect, update); } @Override @Nullable Listener gasListeners(AbstractFutureState<?> future, Listener update) { return (Listener) listenersUpdater.getAndSet(future, update); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0)