Class SourceRoot.ParallelParse

All Implemented Interfaces:
Serializable, Future<Void>
Enclosing class:
SourceRoot

private static class SourceRoot.ParallelParse extends 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.