Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for asynchronously (0.07 sec)

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

    import java.util.concurrent.Future;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A callback for accepting the results of a {@link java.util.concurrent.Future} computation
     * asynchronously.
     *
     * <p>To attach to a {@link ListenableFuture} use {@link Futures#addCallback}.
     *
     * @author Anthony Zana
     * @since 10.0
     */
    @GwtCompatible
    public interface FutureCallback<V extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

     */
    
    package com.google.common.eventbus;
    
    import java.util.concurrent.Executor;
    
    /**
     * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events,
     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    public class AsyncEventBus extends EventBus {
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            return OptionalThing.empty();
        }
    
        /**
         * Saves the login history for the given user.
         * This operation is performed asynchronously.
         *
         * @param user the user entity
         * @param userBean the user bean
         * @param option the login specified option
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
              public final void addListener(Listener listener, Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/InputStreamThread.java

    import org.apache.logging.log4j.Logger;
    
    /**
     * A thread that reads from an input stream line by line and maintains a buffer of recent lines.
     * This class provides functionality to read input stream data asynchronously,
     * optionally process each line with a callback function, and maintain a circular buffer
     * of recent lines for retrieval.
     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. internal/stmt_store/stmt_store.go

    //     it defaults to defaultTTL.
    //
    // This function defines an onEvicted callback that is invoked when a cache entry is evicted.
    // The callback ensures that if the evicted value (v) is not nil, its Close method is called asynchronously
    // to release associated resources.
    //
    // Returns:
    //   - A Store instance implemented by lruStore, which internally uses an LRU cache with the specified size,
    //     eviction callback, and TTL.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            } catch (final Exception e) {
                throw new SuggestIndexException("Failed to index from query_string.", e);
            }
        }
    
        /**
         * Indexes documents from a query log reader asynchronously.
         * @param queryLogReader The query log reader.
         * @param docPerReq The number of documents to process per request.
         * @param requestInterval The interval between requests.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         } catch (TimeoutException timeout) {
     *           // stopping timed out
     *         }
     *       }
     *     });
     *     manager.startAsync();  // start all the services asynchronously
     *   }
     * }
     * }
     *
     * <p>This class uses the ServiceManager's methods to start all of its services, to respond to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A step in a pipeline of an asynchronous computation. When the last step in the computation is
     * complete, some objects captured during the computation are closed.
     *
     * <p>A pipeline of {@code ClosingFuture}s is a tree of steps. Each step represents either an
     * asynchronously-computed intermediate value, or else an exception that indicates the failure or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        }
    
        // PUT /api/admin/elevateword/upload
        /**
         * Uploads and imports elevate words from a CSV file.
         * Processes the file asynchronously and updates the suggest helper.
         *
         * @param body upload form containing the CSV file
         * @return JSON response with upload status
         */
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top