Added Methods |
boolean checkFSSupportsEC(FileSystem, Path)
|
Return true if the FS implements WithErasureCoding and supports EC_POLICY option in Options.OpenFileOptions A message is logged when the filesystem does not support Erasure coding. |
boolean isRegularFile(File )
|
|
boolean isRegularFile(File, boolean)
|
Check if the file is regular. |
void maybeIgnoreMissingDirectory(FileSystem, Path, FileNotFoundException)
|
Method to call after a FNFE has been raised on a treewalk so as to decide whether to throw the exception (default) or if the FS supports inconsistent directory listings to log and ignore it. |