public interface SystemHelper
Modifier and Type | Field and Description |
---|---|
static int |
ULIMIT_UNLIMITED |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfAllOpenFiles()
get the number of open files in any directory for the current user.
|
int |
getNumberOfOpenFiles(File directory)
get the number of file open in the given directory for the current user.
|
int |
getNumberOfOpenFiles(String directory) |
int |
getOpenFileLimit()
gets the limit of allowed open files for the current user.
|
static final int ULIMIT_UNLIMITED
int getOpenFileLimit()
ULIMIT_UNLIMITED
if it is unlimited.int getNumberOfAllOpenFiles()
int getNumberOfOpenFiles(File directory)
directory
- the directory in which to look for open files.int getNumberOfOpenFiles(String directory)
getNumberOfOpenFiles(java.io.File)
Copyright © 2003–2015 Atlassian. All rights reserved.