- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for AbstractListeningExecutorService (0.21 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java
* termination. * * @author Chris Povirk * @since 14.0 */ @CheckReturnValue @GwtIncompatible public abstract class AbstractListeningExecutorService extends AbstractExecutorService implements ListeningExecutorService { /** Constructor for use by subclasses. */ public AbstractListeningExecutorService() {} /** * @since 19.0 (present with return type {@code ListenableFutureTask} since 14.0) */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 17:47:46 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link AbstractListeningExecutorService}. * * @author Colin Decker */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractListeningExecutorServiceTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link AbstractListeningExecutorService}. * * @author Colin Decker */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AbstractListeningExecutorServiceTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.AbstractFuture; import com.google.common.util.concurrent.AbstractListeningExecutorService; import com.google.common.util.concurrent.ListenableScheduledFuture; import com.google.common.util.concurrent.ListeningScheduledExecutorService; import com.google.common.util.concurrent.MoreExecutors;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java
assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS); assertThat(Duration.ofNanos(recordedTimeout)).isEqualTo(Duration.ofMinutes(144)); } private class FakeExecutorService extends AbstractListeningExecutorService { @Override public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.TimeUnit; /** See newDirectExecutorService javadoc for behavioral notes. */ @GwtIncompatible final class DirectExecutorService extends AbstractListeningExecutorService { /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */ private final Object lock = new Object(); /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 14:23:59 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java
assertThat(Duration.ofNanos(recordedDelay)).isEqualTo(Duration.ofDays(8)); assertThat(Duration.ofNanos(recordedInterval)).isEqualTo(Duration.ofHours(16)); } private class FakeExecutorService extends AbstractListeningExecutorService implements ListeningScheduledExecutorService { @Override public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { recordedCommand = command;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.util.concurrent.AbstractFuture; import com.google.common.util.concurrent.AbstractListeningExecutorService; import com.google.common.util.concurrent.ListenableScheduledFuture; import com.google.common.util.concurrent.ListeningScheduledExecutorService; import com.google.common.util.concurrent.MoreExecutors;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
? (ListeningScheduledExecutorService) delegate : new ScheduledListeningDecorator(delegate); } @GwtIncompatible // TODO private static class ListeningDecorator extends AbstractListeningExecutorService { private final ExecutorService delegate; ListeningDecorator(ExecutorService delegate) { this.delegate = checkNotNull(delegate); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0)