@NotThreadSafe public class LocalFileSystemCluster extends UnderFileSystemCluster
mBaseDir, mConfiguration| Constructor and Description |
|---|
LocalFileSystemCluster(String baseDir,
Configuration configuration) |
| 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, readEOFReturnsNegative, registerJVMOnExistHookpublic LocalFileSystemCluster(String baseDir, Configuration configuration)
baseDir - the base directoryconfiguration - the configuration for Alluxiopublic 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.