public interface MetaMasterConfigClient extends Client
| Modifier and Type | Method and Description |
|---|---|
ConfigHash |
getConfigHash() |
Configuration |
getConfiguration(GetConfigurationPOptions options) |
void |
removePathConfiguration(AlluxioURI path)
Removes all properties for a path.
|
void |
removePathConfiguration(AlluxioURI path,
java.util.Set<PropertyKey> keys)
Removes properties for a path.
|
void |
setPathConfiguration(AlluxioURI path,
java.util.Map<PropertyKey,java.lang.String> properties)
Sets properties for a path.
|
default void |
setPathConfiguration(AlluxioURI path,
PropertyKey key,
java.lang.String value)
Sets a property for a path.
|
java.util.Map<PropertyKey,java.lang.Boolean> |
updateConfiguration(java.util.Map<PropertyKey,java.lang.String> propertiesMap)
Updates properties.
|
connect, disconnect, getConfAddress, getRemoteHostName, getRemoteSockAddress, isClosed, isConnectedConfiguration getConfiguration(GetConfigurationPOptions options) throws java.io.IOException
options - the optionsjava.io.IOExceptionConfigHash getConfigHash() throws java.io.IOException
java.io.IOExceptiondefault void setPathConfiguration(AlluxioURI path, PropertyKey key, java.lang.String value) throws java.io.IOException
path - the pathkey - the property keyvalue - the property valuejava.io.IOExceptionvoid setPathConfiguration(AlluxioURI path, java.util.Map<PropertyKey,java.lang.String> properties) throws java.io.IOException
path - the pathproperties - the propertiesjava.io.IOExceptionvoid removePathConfiguration(AlluxioURI path, java.util.Set<PropertyKey> keys) throws java.io.IOException
path - the pathkeys - the property keysjava.io.IOExceptionvoid removePathConfiguration(AlluxioURI path) throws java.io.IOException
path - the pathjava.io.IOExceptionjava.util.Map<PropertyKey,java.lang.Boolean> updateConfiguration(java.util.Map<PropertyKey,java.lang.String> propertiesMap) throws java.io.IOException
propertiesMap - the properties map to be updatedjava.io.IOExceptionCopyright © 2022. All Rights Reserved.