Class SourceRoot.ParallelParse

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.Future<java.lang.Void>
    Enclosing class:
    SourceRoot

    private static class SourceRoot.ParallelParse
    extends java.util.concurrent.RecursiveAction
    Executes a recursive file tree walk using threads. A new thread is invoked for each new directory discovered during the walk. For each file visited, the user-provided SourceRoot.ParallelParse.VisitFileCallback is called with the current path and file attributes. Any shared resources accessed in a SourceRoot.ParallelParse.VisitFileCallback should be made thread-safe.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void compute()  
      • Methods inherited from class java.util.concurrent.RecursiveAction

        exec, getRawResult, setRawResult
      • Methods inherited from class java.util.concurrent.ForkJoinTask

        adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait