public class FreeBsdFileSystem 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 |
---|
FreeBsdFileSystem() |
Modifier and Type | Method and Description |
---|---|
OSFileStore[] |
getFileStores()
Get file stores on this machine
Instantiates an array of
OSFileStore objects,
representing a storage pool, device, partition, volume, concrete file system
or other implementation specific means of file storage. |
long |
getMaxFileDescriptors()
The maximum number of open file descriptors.
|
long |
getOpenFileDescriptors()
The current number of open file descriptors.
|
static boolean |
updateFileStoreStats(OSFileStore osFileStore)
updateFileStoreStats.
|
public OSFileStore[] getFileStores()
OSFileStore
objects,
representing a storage pool, device, partition, volume, concrete file system
or other implementation specific means of file storage.
Gets File System Information.getFileStores
in interface FileSystem
public long getOpenFileDescriptors()
getOpenFileDescriptors
in interface FileSystem
public long getMaxFileDescriptors()
getMaxFileDescriptors
in interface FileSystem
public static boolean updateFileStoreStats(OSFileStore osFileStore)
updateFileStoreStats.
osFileStore
- a OSFileStore
object.Copyright © 2010–2020 oshi. All rights reserved.