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,
Set<PropertyKey> keys)
Removes properties for a path.
|
void |
setPathConfiguration(AlluxioURI path,
Map<PropertyKey,String> properties)
Sets properties for a path.
|
default void |
setPathConfiguration(AlluxioURI path,
PropertyKey key,
String value)
Sets a property for a path.
|
connect, disconnect, getAddress, getConfAddress, isClosed, isConnected
Configuration getConfiguration(GetConfigurationPOptions options) throws IOException
options
- the optionsIOException
ConfigHash getConfigHash() throws IOException
IOException
default void setPathConfiguration(AlluxioURI path, PropertyKey key, String value) throws IOException
path
- the pathkey
- the property keyvalue
- the property valueIOException
void setPathConfiguration(AlluxioURI path, Map<PropertyKey,String> properties) throws IOException
path
- the pathproperties
- the propertiesIOException
void removePathConfiguration(AlluxioURI path, Set<PropertyKey> keys) throws IOException
path
- the pathkeys
- the property keysIOException
void removePathConfiguration(AlluxioURI path) throws IOException
path
- the pathIOException
Copyright © 2023. All Rights Reserved.