private static class SourceRoot.ParallelParse
extends java.util.concurrent.RecursiveAction
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.Modifier and Type | Class and Description |
---|---|
(package private) static interface |
SourceRoot.ParallelParse.VisitFileCallback |
Modifier and Type | Field and Description |
---|---|
private SourceRoot.ParallelParse.VisitFileCallback |
callback |
private java.nio.file.Path |
path |
private static long |
serialVersionUID |
Constructor and Description |
---|
ParallelParse(java.nio.file.Path path,
SourceRoot.ParallelParse.VisitFileCallback callback) |
Modifier and Type | Method and Description |
---|---|
protected void |
compute() |
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
private static final long serialVersionUID
private final java.nio.file.Path path
private final SourceRoot.ParallelParse.VisitFileCallback callback
ParallelParse(java.nio.file.Path path, SourceRoot.ParallelParse.VisitFileCallback callback)