@ThreadSafe public class RetryHandlingMetaMasterConfigClient extends AbstractMasterClient implements MetaMasterConfigClient
AbstractClient.RpcCallable<V>mChannel, mClosed, mConnected, mContext, mServerAddress, mServiceVersion, mVersionService| Constructor and Description |
|---|
RetryHandlingMetaMasterConfigClient(MasterClientContext conf)
Creates a new meta master client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
ConfigHash |
getConfigHash() |
Configuration |
getConfiguration(GetConfigurationPOptions options) |
protected ServiceType |
getRemoteServiceType() |
protected java.lang.String |
getServiceName() |
protected long |
getServiceVersion() |
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.
|
java.util.Map<PropertyKey,java.lang.Boolean> |
updateConfiguration(java.util.Map<PropertyKey,java.lang.String> propertiesMap)
Updates properties.
|
afterDisconnect, beforeConnect, getConfAddress, queryGrpcServerAddressbeforeDisconnect, checkVersion, close, connect, connectWithRuntimeException, disconnect, getRemoteHostName, getRemoteServiceVersion, getRemoteSockAddress, isClosed, isConnected, retryRPC, retryRPCclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPathConfigurationconnect, disconnect, getConfAddress, getRemoteHostName, getRemoteSockAddress, isClosed, isConnectedpublic RetryHandlingMetaMasterConfigClient(MasterClientContext conf)
conf - master client configurationprotected ServiceType getRemoteServiceType()
getRemoteServiceType in class AbstractClientprotected java.lang.String getServiceName()
getServiceName in class AbstractClientprotected long getServiceVersion()
getServiceVersion in class AbstractClientprotected void afterConnect()
afterConnect in class AbstractClientpublic Configuration getConfiguration(GetConfigurationPOptions options) throws java.io.IOException
getConfiguration in interface MetaMasterConfigClientoptions - the optionsjava.io.IOExceptionpublic ConfigHash getConfigHash() throws java.io.IOException
getConfigHash in interface MetaMasterConfigClientjava.io.IOExceptionpublic void setPathConfiguration(AlluxioURI path, java.util.Map<PropertyKey,java.lang.String> properties) throws java.io.IOException
MetaMasterConfigClientsetPathConfiguration in interface MetaMasterConfigClientpath - the pathproperties - the propertiesjava.io.IOExceptionpublic void removePathConfiguration(AlluxioURI path, java.util.Set<PropertyKey> keys) throws java.io.IOException
MetaMasterConfigClientremovePathConfiguration in interface MetaMasterConfigClientpath - the pathkeys - the property keysjava.io.IOExceptionpublic void removePathConfiguration(AlluxioURI path) throws java.io.IOException
MetaMasterConfigClientremovePathConfiguration in interface MetaMasterConfigClientpath - the pathjava.io.IOExceptionpublic java.util.Map<PropertyKey,java.lang.Boolean> updateConfiguration(java.util.Map<PropertyKey,java.lang.String> propertiesMap) throws java.io.IOException
MetaMasterConfigClientupdateConfiguration in interface MetaMasterConfigClientpropertiesMap - the properties map to be updatedjava.io.IOExceptionCopyright © 2022. All Rights Reserved.