Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AsyncCallable (0.11 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          @Override
          public Integer apply(Integer input) {
            return input + delta;
          }
        };
      }
    
      private static AsyncCallable<Integer> asyncAdd(
          final ListenableFuture<Integer> future, final int delta, final Executor executor) {
        return new AsyncCallable<Integer>() {
          @Override
          public ListenableFuture<Integer> call() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * callable} or a callable that has begun to execute, but if the output future is cancelled before
       * {@link AsyncCallable#call()} is invoked, {@link AsyncCallable#call()} will not be invoked.
       */
      public <T extends @Nullable Object> ListenableFuture<T> submitAsync(
          AsyncCallable<T> callable, Executor executor) {
        checkNotNull(callable);
        checkNotNull(executor);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          @Override
          public Integer apply(Integer input) {
            return input + delta;
          }
        };
      }
    
      private static AsyncCallable<Integer> asyncAdd(
          final ListenableFuture<Integer> future, final int delta, final Executor executor) {
        return new AsyncCallable<Integer>() {
          @Override
          public ListenableFuture<Integer> call() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * callable} or a callable that has begun to execute, but if the output future is cancelled before
       * {@link AsyncCallable#call()} is invoked, {@link AsyncCallable#call()} will not be invoked.
       */
      public <T extends @Nullable Object> ListenableFuture<T> submitAsync(
          AsyncCallable<T> callable, Executor executor) {
        checkNotNull(callable);
        checkNotNull(executor);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top