java.util.concurrent.Callable<DirectoryScanner.ScanInfoVolumeReport>public class DirectoryScanner.ReportCompiler extends java.lang.Object implements java.util.concurrent.Callable<DirectoryScanner.ScanInfoVolumeReport>
call() method.| Constructor | Description |
|---|---|
ReportCompiler(FsVolumeSpi volume) |
Create a report compiler for the given volume.
|
| Modifier and Type | Method | Description |
|---|---|---|
DirectoryScanner.ScanInfoVolumeReport |
call() |
Run this report compiler thread.
|
void |
throttle() |
Called by the thread before each potential disk scan so that a pause can
be optionally inserted to limit the number of scans per second.
|
public ReportCompiler(FsVolumeSpi volume)
volume - the target volumepublic DirectoryScanner.ScanInfoVolumeReport call() throws java.io.IOException
call in interface java.util.concurrent.Callable<DirectoryScanner.ScanInfoVolumeReport>java.io.IOException - if the block pool is not foundpublic void throttle()
throws java.lang.InterruptedException
DFSConfigKeys.DFS_DATANODE_DIRECTORYSCAN_THROTTLE_LIMIT_MS_PER_SEC_KEY.java.lang.InterruptedExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.