public interface PartitionUserFileSystemManagerMBean extends RuntimeMBean
This class is used for partition user file system handling.
Modifier and Type | Method and Description |
---|---|
boolean |
deleteFile(java.lang.String filePath)
Deletes specified file
|
boolean |
exists(java.lang.String filePath)
Checks whether specified file exists
|
java.lang.String[] |
list(java.lang.String dirPath)
Lists files from partition user file system directory
|
boolean |
mkdir(java.lang.String dirPath)
Creates partition user file system subdirectory
|
boolean |
rmdir(java.lang.String dirPath)
Deletes specified directory
|
addPropertyChangeListener, preDeregister, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
boolean exists(java.lang.String filePath) throws ManagementException
filePath
- file path relative to partition user file system rootManagementException
boolean mkdir(java.lang.String dirPath) throws ManagementException
dirPath
- directory path relative to partition user file system rootManagementException
java.lang.String[] list(java.lang.String dirPath) throws ManagementException
dirPath
- directory path relative to partition user file system rootManagementException
boolean deleteFile(java.lang.String filePath) throws ManagementException
filePath
- file path relative to partition user file system rootManagementException
boolean rmdir(java.lang.String dirPath) throws ManagementException
dirPath
- directory path relative to partition user file system rootManagementException