com.atlassian.confluence.it.system
Class UnixSystemHelper
java.lang.Object
com.atlassian.confluence.it.system.UnixSystemHelper
- All Implemented Interfaces:
- SystemHelper
public class UnixSystemHelper
- extends Object
- implements SystemHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnixSystemHelper
public UnixSystemHelper()
getOpenFileLimit
public int getOpenFileLimit()
- Description copied from interface:
SystemHelper
- gets the limit of allowed open files for the current user.
- Specified by:
getOpenFileLimit
in interface SystemHelper
- Returns:
- the maximum number of files the user can open,
SystemHelper.ULIMIT_UNLIMITED
if it is unlimited.
getNumberOfAllOpenFiles
public int getNumberOfAllOpenFiles()
- Description copied from interface:
SystemHelper
- get the number of open files in any directory for the current user.
- Specified by:
getNumberOfAllOpenFiles
in interface SystemHelper
- Returns:
- the number of open files
getNumberOfOpenFiles
public int getNumberOfOpenFiles(File directory)
- Description copied from interface:
SystemHelper
- get the number of file open in the given directory for the current user.
- Specified by:
getNumberOfOpenFiles
in interface SystemHelper
- Parameters:
directory
- the directory in which to look for open files.
- Returns:
- the number of open files
getNumberOfOpenFiles
public int getNumberOfOpenFiles(String directory)
- Specified by:
getNumberOfOpenFiles
in interface SystemHelper
- See Also:
SystemHelper.getNumberOfOpenFiles(java.io.File)
Copyright © 2003-2011 Atlassian. All Rights Reserved.