public class DirectoryScanner.ReportCompiler extends Object implements Callable<DirectoryScanner.ScanInfoVolumeReport>
call() method.| Constructor and Description | 
|---|
| ReportCompiler(FsVolumeSpi volume)Create a report compiler for the given volume. | 
| Modifier and Type | Method and 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 IOException
call in interface Callable<DirectoryScanner.ScanInfoVolumeReport>IOException - if the block pool is not foundpublic void throttle()
              throws InterruptedException
DFSConfigKeys.DFS_DATANODE_DIRECTORYSCAN_THROTTLE_LIMIT_MS_PER_SEC_KEY.InterruptedExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.