- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for overload (0.04 sec)
-
guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java
/** * @since 15.0 (previously returned ScheduledFuture) */ @Override ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit); /** * Duration-based overload of {@link #schedule(Runnable, long, TimeUnit)}. * * @since 29.0 */ @J2ktIncompatible default ListenableScheduledFuture<?> schedule(Runnable command, Duration delay) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 17:30:04 UTC 2025 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
} static void clearInterrupt() { Thread.interrupted(); } /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method. */ static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
@Override <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException; /** * Duration-based overload of {@link #invokeAll(Collection, long, TimeUnit)}. * * @since 32.1.0 */ @J2ktIncompatible default <T extends @Nullable Object> List<Future<T>> invokeAll(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java
MoreExecutors.directExecutor()); }) .then(onFulfilled, onRejected); } } /** * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows * us to implement it using a default implementation in J2cl ListenableFuture. */ @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable") interface IThenable<T extends @Nullable Object> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link FakeTicker}. * * @author Jige Yu */ @GwtCompatible // We also want to test the TimeUnit overload (especially under GWT, where it's the only option). @SuppressWarnings("SetAutoIncrementStep_Nanos") @NullUnmarked public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType))) // TODO: add an overload to EqualsTester to print custom error message? .testEquals(); } private static <T> void testToString( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
throw RejectedExecutionException() } if (scheduleAndDecide(task, delayNanos, recurrence = false)) { taskRunner.kickCoordinator(this) } } } /** * Overload of [schedule] that uses a lambda for a repeating task. * * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466 */ fun schedule( name: String, delayNanos: Long = 0L,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 7.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType))) // TODO: add an overload to EqualsTester to print custom error message? .testEquals(); } private static <T> void testToString( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link FakeTicker}. * * @author Jige Yu */ @GwtCompatible // We also want to test the TimeUnit overload (especially under GWT, where it's the only option). @SuppressWarnings("SetAutoIncrementStep_Nanos") @NullUnmarked public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/contribute/concurrency.md
Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead. #### Framed protocols
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0)