Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 86 of 86 for listenablefuture (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        // This lock protects the task so we can ensure that none of the template methods (startUp,
        // shutDown or runOneIteration) run concurrently with one another.
        // TODO(lukes): why don't we use ListenableFuture to sequence things? Then we could drop the
        // lock.
        private final ReentrantLock lock = new ReentrantLock();
    
        @WeakOuter
        final class Task implements Runnable {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        // This lock protects the task so we can ensure that none of the template methods (startUp,
        // shutDown or runOneIteration) run concurrently with one another.
        // TODO(lukes): why don't we use ListenableFuture to sequence things? Then we could drop the
        // lock.
        private final ReentrantLock lock = new ReentrantLock();
    
        @WeakOuter
        final class Task implements Runnable {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on
       * {@link #listenersField}.
       */
      final boolean casListeners(@Nullable Listener expect, Listener update) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on
       * {@link #listenersField}.
       */
      final boolean casListeners(@Nullable Listener expect, Listener update) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import com.google.common.testing.TestLogHandler;
    import com.google.common.util.concurrent.ListenableFuture;
    import com.google.common.util.concurrent.ListeningExecutorService;
    import com.google.common.util.concurrent.SettableFuture;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.io.Serializable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

     * AsyncCacheLoader.asyncLoad}</a> must return a {@code CompletableFuture}. Users of Guava's {@link
     * com.google.common.util.concurrent.ListenableFuture} can adapt between the two {@code Future}
     * types by using <a href="https://github.com/lukas-krecan/future-converter#java8-guava">{@code
     * net.javacrumbs.futureconverter.java8guava.FutureConverter}</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top