Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Completion (0.27 sec)

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

      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //
      // * Be responsive to interruption
      // * Don't create Waiter nodes if you aren't going to park, this helps reduce contention on the
      //   waiters field.
      // * Future completion is defined by when #value becomes non-null/non SetFuture
      // * Future completion can be observed if the waiters field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // Since the value of oldFuture can only ever be immediateFuture(null) or setFuture of
                // a future that eventually came from immediateFuture(null), this doesn't leak
                // throwables or completion values.
                newFuture.setFuture(oldFuture);
              } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      /**
       * For each possible pair of futures from {@link TestFutureBatch}, for each possible completion
       * order of those futures, test that various get calls (timed before future completion, untimed
       * before future completion, and untimed after future completion) return or throw the proper
       * values.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      /**
       * For each possible pair of futures from {@link TestFutureBatch}, for each possible completion
       * order of those futures, test that various get calls (timed before future completion, untimed
       * before future completion, and untimed after future completion) return or throw the proper
       * values.
       */
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      // have two requirements that significantly complicate their design.
      // 1. Cancellation should propagate from the returned future to the input future(s).
      // 2. The returned futures shouldn't unnecessarily 'pin' their inputs after completion.
      //
      // A consequence of these requirements is that the delegate futures cannot be stored in
      // final fields.
      //
      // For simplicity the rest of this description will discuss Futures.catching since it is the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    .param("requests_per_second", requestsPerSecond).param("scroll", scroll).param("max_docs", maxDocs)
                    .param("wait_for_completion", Boolean.toString(waitForCompletion)).body(source).execute()) {
                if (response.getHttpStatusCode() == 200) {
                    return true;
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top