Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BatchRequestException (0.12 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

     * callers to determine which specific requests failed and why.
     *
     * @since 4.0.0
     */
    @Experimental
    public class BatchRequestException extends RuntimeException {
    
        private final List<RequestResult<?, ?>> results;
    
        /**
         * Constructs a new BatchRequestException with the specified message and results.
         *
         * @param <REQ> The type of the request
         * @param <REP> The type of the response
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     *     // Expensive operation to compute result
     *     return computedResult;
     * });
     * </pre>
     * <p>
     * The package also provides support for batch operations through {@link org.apache.maven.api.cache.BatchRequestException}
     * and {@link org.apache.maven.api.cache.RequestResult} which help manage multiple requests and their results.
     *
     * @since 4.0.0
     */
    @Experimental
    package org.apache.maven.api.cache;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * @param req List of requests to process
         * @param supplier Function to execute the batch of requests
         * @return List of results corresponding to the input requests
         * @throws BatchRequestException if any request in the batch fails
         */
        <REQ extends Request<?>, REP extends Result<REQ>> List<REP> requests(
                List<REQ> req, Function<List<REQ>, List<REP>> supplier);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top