@ThreadSafe public class RetryHandlingMetaMasterClient extends alluxio.AbstractMasterClient implements MetaMasterClient
| Constructor and Description |
|---|
RetryHandlingMetaMasterClient(alluxio.master.MasterClientContext conf)
Creates a new meta master client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
alluxio.wire.BackupResponse |
backup(alluxio.grpc.BackupPOptions options)
Writes a backup of the journal to the specified directory.
|
String |
checkpoint()
Creates a checkpoint in the primary master journal system.
|
alluxio.wire.ConfigCheckReport |
getConfigReport()
Gets the server-side configuration check report.
|
alluxio.grpc.MasterInfo |
getMasterInfo(Set<alluxio.grpc.MasterInfoField> fields) |
Map<String,alluxio.grpc.MetricValue> |
getMetrics()
Gets a map of metrics property names and their values from metrics system.
|
protected alluxio.grpc.ServiceType |
getRemoteServiceType() |
protected String |
getServiceName() |
protected long |
getServiceVersion() |
afterDisconnect, beforeConnect, beforeDisconnect, checkVersion, close, connect, disconnect, getRemoteServiceVersion, isClosed, isConnected, retryRPC, retryRPCpublic RetryHandlingMetaMasterClient(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.BackupResponse backup(alluxio.grpc.BackupPOptions options)
throws IOException
MetaMasterClientbackup in interface MetaMasterClientoptions - backup optionsIOExceptionpublic alluxio.wire.ConfigCheckReport getConfigReport()
throws IOException
MetaMasterClientgetConfigReport in interface MetaMasterClientIOExceptionpublic alluxio.grpc.MasterInfo getMasterInfo(Set<alluxio.grpc.MasterInfoField> fields) throws IOException
getMasterInfo in interface MetaMasterClientfields - optional list of fields to query; if null all fields will be queriedIOExceptionpublic Map<String,alluxio.grpc.MetricValue> getMetrics() throws alluxio.exception.status.AlluxioStatusException
MetaMasterClientgetMetrics in interface MetaMasterClientalluxio.exception.status.AlluxioStatusExceptionpublic String checkpoint() throws IOException
MetaMasterClientcheckpoint in interface MetaMasterClientIOExceptionCopyright © 2024. All Rights Reserved.