@NotThreadSafe public final class LocalFileSystemCluster extends UnderFileSystemCluster
mBaseDir| Constructor and Description |
|---|
LocalFileSystemCluster(String baseDir) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUnderFilesystemAddress() |
boolean |
isStarted() |
void |
shutdown()
Stops the underfs cluster system.
|
void |
start()
Starts the underfs cluster system.
|
cleanup, get, get, getUnderFilesystemCluster, getUnderFSClass, registerJVMOnExistHookpublic LocalFileSystemCluster(String baseDir)
baseDir - the base directorypublic String getUnderFilesystemAddress()
getUnderFilesystemAddress in class UnderFileSystemClusterpublic boolean isStarted()
isStarted in class UnderFileSystemClusterpublic void shutdown()
throws IOException
UnderFileSystemClustershutdown in class UnderFileSystemClusterIOException - when the operation failspublic void start()
throws IOException
UnderFileSystemClusterstart in class UnderFileSystemClusterIOException - when the operation failsCopyright © 2016. All Rights Reserved.