public class LinuxFileSystem extends Object implements FileSystem
OSFileStores which are a storage pool,
device, partition, volume, concrete file system or other implementation
specific means of file storage. In Linux, these are found in the /proc/mount
filesystem, excluding temporary and kernel mounts.| Constructor and Description |
|---|
LinuxFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
OSFileStore[] |
getFileStores()
Gets File System Information.
|
long |
getMaxFileDescriptors()
The maximum number of open file descriptors.
|
long |
getOpenFileDescriptors()
The current number of open file descriptors.
|
public OSFileStore[] getFileStores()
getFileStores in interface FileSystemOSFileStore objects representing mounted
volumes. May return disconnected volumes with
OSFileStore.getTotalSpace() = 0.public long getOpenFileDescriptors()
FileSystemgetOpenFileDescriptors in interface FileSystempublic long getMaxFileDescriptors()
FileSystemgetMaxFileDescriptors in interface FileSystemCopyright © 2010–2017 oshi. All rights reserved.