Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 82 for ListenableFuture (0.24 sec)

  1. android/guava/src/com/google/common/util/concurrent/Callables.java

        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
       *
       * <p>The {@link AsyncCallable} returns the {@link ListenableFuture} resulting from {@link
       * ListeningExecutorService#submit(Callable)}.
       *
       * @since 20.0
       */
      @J2ktIncompatible
      @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Callables.java

        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
       *
       * <p>The {@link AsyncCallable} returns the {@link ListenableFuture} resulting from {@link
       * ListeningExecutorService#submit(Callable)}.
       *
       * @since 20.0
       */
      @J2ktIncompatible
      @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. guava/pom.xml

          <groupId>com.google.guava</groupId>
          <artifactId>failureaccess</artifactId>
          <version>1.0.2</version>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>listenablefuture</artifactId>
          <version>9999.0-empty-to-avoid-conflict-with-guava</version>
        </dependency>
        <dependency>
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/pom.xml

          <groupId>com.google.guava</groupId>
          <artifactId>failureaccess</artifactId>
          <version>1.0.2</version>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>listenablefuture</artifactId>
          <version>9999.0-empty-to-avoid-conflict-with-guava</version>
        </dependency>
        <dependency>
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

            CacheLoader<? super K, V> loader)
            throws ExecutionException {
          ListenableFuture<V> loadingFuture = loadingValueReference.loadFuture(key, loader);
          return getAndRecordStats(key, hash, loadingValueReference, loadingFuture);
        }
    
        ListenableFuture<V> loadAsync(
            final K key,
            final int hash,
            final LoadingValueReference<K, V> loadingValueReference,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * logged.
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link ListenableFuture#addListener ListenableFuture.addListener}
       * documentation.
       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * logged.
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link ListenableFuture#addListener ListenableFuture.addListener}
       * documentation.
       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. 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
        class Task implements Runnable {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top