@ThreadSafe public class RetryHandlingMetaMasterConfigClient extends alluxio.AbstractMasterClient implements MetaMasterConfigClient
| Constructor and Description |
|---|
RetryHandlingMetaMasterConfigClient(alluxio.master.MasterClientContext conf)
Creates a new meta master client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
alluxio.wire.ConfigHash |
getConfigHash() |
alluxio.wire.Configuration |
getConfiguration(alluxio.grpc.GetConfigurationPOptions options) |
protected alluxio.grpc.ServiceType |
getRemoteServiceType() |
protected String |
getServiceName() |
protected long |
getServiceVersion() |
void |
removePathConfiguration(alluxio.AlluxioURI path)
Removes all properties for a path.
|
void |
removePathConfiguration(alluxio.AlluxioURI path,
Set<alluxio.conf.PropertyKey> keys)
Removes properties for a path.
|
void |
setPathConfiguration(alluxio.AlluxioURI path,
Map<alluxio.conf.PropertyKey,String> properties)
Sets properties for a path.
|
afterDisconnect, beforeConnect, beforeDisconnect, checkVersion, close, connect, disconnect, getRemoteServiceVersion, isClosed, isConnected, retryRPC, retryRPCclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPathConfigurationpublic RetryHandlingMetaMasterConfigClient(alluxio.master.MasterClientContext conf)
conf - master client configurationprotected alluxio.grpc.ServiceType getRemoteServiceType()
getRemoteServiceType in class alluxio.AbstractClientprotected String getServiceName()
getServiceName in class alluxio.AbstractClientprotected long getServiceVersion()
getServiceVersion in class alluxio.AbstractClientprotected void afterConnect()
afterConnect in class alluxio.AbstractClientpublic alluxio.wire.Configuration getConfiguration(alluxio.grpc.GetConfigurationPOptions options)
throws IOException
getConfiguration in interface MetaMasterConfigClientoptions - the optionsIOExceptionpublic alluxio.wire.ConfigHash getConfigHash()
throws IOException
getConfigHash in interface MetaMasterConfigClientIOExceptionpublic void setPathConfiguration(alluxio.AlluxioURI path,
Map<alluxio.conf.PropertyKey,String> properties)
throws IOException
MetaMasterConfigClientsetPathConfiguration in interface MetaMasterConfigClientpath - the pathproperties - the propertiesIOExceptionpublic void removePathConfiguration(alluxio.AlluxioURI path,
Set<alluxio.conf.PropertyKey> keys)
throws IOException
MetaMasterConfigClientremovePathConfiguration in interface MetaMasterConfigClientpath - the pathkeys - the property keysIOExceptionpublic void removePathConfiguration(alluxio.AlluxioURI path)
throws IOException
MetaMasterConfigClientremovePathConfiguration in interface MetaMasterConfigClientpath - the pathIOExceptionCopyright © 2024. All Rights Reserved.