public final class FileSystemUtils extends Object
| Constructor and Description |
|---|
FileSystemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkSupported() |
static int |
getFileSystemBlockSize(int fd) |
static int |
getFileSystemBlockSize(Path path) |
static long |
getSparseFileSize(int fd)
!!!
|
static long |
punchHole(int fd,
long off,
long len,
int fsBlockSize) |
public static void checkSupported()
public static int getFileSystemBlockSize(Path path)
path - File system path.public static int getFileSystemBlockSize(int fd)
fd - Native file descriptor.public static long getSparseFileSize(int fd)
fd - Native file descriptor.public static long punchHole(int fd,
long off,
long len,
int fsBlockSize)
fd - Native file descriptor.off - Offset of the hole.len - Length of the hole.fsBlockSize - File system block size.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021