public class LinuxFileSystem extends Object implements FileSystem
OSFileStore
s 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 FileSystem
OSFileStore
objects representing mounted
volumes. May return disconnected volumes with
OSFileStore.getTotalSpace()
= 0.public long getOpenFileDescriptors()
FileSystem
getOpenFileDescriptors
in interface FileSystem
public long getMaxFileDescriptors()
FileSystem
getMaxFileDescriptors
in interface FileSystem
Copyright © 2010–2018 oshi. All rights reserved.