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