Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for QueryResult (0.25 sec)

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

       * computation is complete.
       *
       * <p>Example:
       *
       * <pre>{@code
       * future.addCallback(
       *     new FutureCallback<QueryResult>() {
       *       public void onSuccess(QueryResult result) {
       *         storeInCache(result);
       *       }
       *       public void onFailure(Throwable t) {
       *         reportError(t);
       *       }
       *     }, executor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * and logged.
       *
       * <p>Example:
       *
       * <pre>{@code
       * ListenableFuture<QueryResult> future = ...;
       * Executor e = ...
       * addCallback(future,
       *     new FutureCallback<QueryResult>() {
       *       public void onSuccess(QueryResult result) {
       *         storeInCache(result);
       *       }
       *       public void onFailure(Throwable t) {
    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)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * <p>If the function throws an exception, that exception is used as the result of the derived
       * {@code ClosingFuture}.
       *
       * <p>Example usage:
       *
       * <pre>{@code
       * ClosingFuture<QueryResult> queryFuture =
       *     queryFuture.catching(
       *         QueryException.class, (closer, x) -> Query.emptyQueryResult(), executor);
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top