public class MacFileSystem 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 Mac OS X, these are found
in the /Volumes directory.| Constructor and Description |
|---|
MacFileSystem() |
| 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 FileSystempublic long getOpenFileDescriptors()
getOpenFileDescriptors in interface FileSystempublic long getMaxFileDescriptors()
getMaxFileDescriptors in interface FileSystempublic static boolean updateFileStoreStats(OSFileStore osFileStore)
updateFileStoreStats.
osFileStore - a OSFileStore object.Copyright © 2010–2019 oshi. All rights reserved.