@ThreadSafe public final class Master extends Object implements Closeable
| Constructor and Description |
|---|
Master(File logsDir,
Map<PropertyKey,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Map<PropertyKey,String> |
getConf() |
void |
start()
Launches the master process.
|
void |
updateConf(PropertyKey key,
String value)
Updates the master's configuration.
|
public Master(File logsDir, Map<PropertyKey,String> properties) throws IOException
logsDir - logs directoryproperties - alluxio propertiesIOExceptionpublic void updateConf(PropertyKey key, @Nullable String value)
key - the conf key to updatevalue - the value to set, or null to unset the keypublic void start()
public Map<PropertyKey,String> getConf()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2019. All Rights Reserved.