Modifier and Type | Method and Description |
---|---|
static ScanResult |
ScanResult.fromJSON(String json)
Deserialize a ScanResult from previously-serialized JSON.
|
ScanResult |
ClassGraph.scan()
Scans the classpath, blocking until the scan is complete.
|
ScanResult |
ClassGraph.scan(ExecutorService executorService,
int numParallelTasks)
Scans the classpath using the requested
ExecutorService and the requested degree of parallelism,
blocking until the scan is complete. |
ScanResult |
ClassGraph.scan(int numThreads)
Scans the classpath with the requested number of threads, blocking until the scan is complete.
|
Modifier and Type | Method and Description |
---|---|
Future<ScanResult> |
ClassGraph.scanAsync(ExecutorService executorService,
int numParallelTasks)
Asynchronously scans the classpath for matching files, returning a
Future<ScanResult> . |
Modifier and Type | Method and Description |
---|---|
void |
ClassGraph.ScanResultProcessor.processScanResult(ScanResult scanResult)
Process the result of an asynchronous scan after scanning has completed.
|
Copyright © 2021. All rights reserved.