public interface FileSystem
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. |
OSFileStore[] |
getFileStores(boolean localOnly)
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.
|
OSFileStore[] getFileStores()
OSFileStore
objects,
representing a storage pool, device, partition, volume, concrete file system
or other implementation specific means of file storage.OSFileStore[] getFileStores(boolean localOnly)
OSFileStore
objects,
representing a storage pool, device, partition, volume, concrete file system
or other implementation specific means of file storage.localOnly
- If true, filters the list to only local file stores.long getOpenFileDescriptors()
long getMaxFileDescriptors()
Copyright © 2010–2020 oshi. All rights reserved.