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
|
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 static boolean updateFileStoreStats(OSFileStore osFileStore)
updateFileStoreStats.
osFileStore - a OSFileStore object.public OSFileStore[] getFileStores()
Instantiates an array of 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()
FileSystemOn Windows systems, this method returns the total number of handles held by Processes. While Windows handles are conceptually similar to file descriptors, they may also refer to a number of non-I/O related objects.
getOpenFileDescriptors in interface FileSystempublic long getMaxFileDescriptors()
FileSystemOn Windows systems, this method returns the theoretical max number of handles (2^24-2^15 on 32-bit, 2^24-2^16 on 64-bit). There may be a lower per-process limit. While Windows handles are conceptually similar to file descriptors, they may also refer to a number of non-I/O related objects.
getMaxFileDescriptors in interface FileSystemCopyright © 2020. All rights reserved.