public interface FileSystem
| 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.
|
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.
long getOpenFileDescriptors()
On 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.
long getMaxFileDescriptors()
On 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.
Copyright © 2019. All rights reserved.