Package org.apache.hadoop.util
Interface DiskValidator
- All Known Implementing Classes:
BasicDiskValidator,ReadWriteDiskValidator
@Private
@Unstable
public interface DiskValidator
A interface for disk validators.
The
checkStatus(File) operation checks status of a file/dir.-
Method Summary
-
Method Details
-
checkStatus
Check the status of a file/dir.- Parameters:
dir- a file/dir- Throws:
DiskChecker.DiskErrorException- if any disk error
-