Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ForkJoinTask (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

            Result result;
            try {
                Future<Result> future = parentCache.computeIfAbsent(parent.getId(), id -> {
                    ForkJoinPool pool = new ForkJoinPool(MAX_CAP);
                    ForkJoinTask<Result> task = new ForkJoinTask<>() {
                        Result result;
    
                        @Override
                        public Result getRawResult() {
                            return result;
                        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * a checked exception. This makes {@code Future} more suitable for lightweight, fast-running
       * tasks that, barring bugs in the code, will not fail. This gives it exception-handling behavior
       * similar to that of {@code ForkJoinTask.join}.
       *
       * <p>Exceptions from {@code Future.get} are treated as follows:
       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@link
    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)
Back to top