@ThreadSafe public class RetryHandlingMetaMasterProxyClient extends AbstractMasterClient
AbstractClient.RpcCallable<V>mChannel, mClosed, mConnected, mContext, mServerAddress, mServiceVersion, mVersionService| Constructor and Description |
|---|
RetryHandlingMetaMasterProxyClient(Address proxyAddress,
MasterClientContext conf,
long startTimeMs)
Creates a new meta master client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
protected ServiceType |
getRemoteServiceType() |
protected java.lang.String |
getServiceName() |
protected long |
getServiceVersion() |
void |
proxyHeartbeat()
Sends a heartbeat to the primary master.
|
afterDisconnect, beforeConnect, getConfAddress, queryGrpcServerAddressbeforeDisconnect, checkVersion, close, connect, connectWithRuntimeException, disconnect, getRemoteHostName, getRemoteServiceVersion, getRemoteSockAddress, isClosed, isConnected, retryRPC, retryRPCpublic RetryHandlingMetaMasterProxyClient(Address proxyAddress, MasterClientContext conf, long startTimeMs)
proxyAddress - address of the proxyconf - master client configurationstartTimeMs - start timestampprotected 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 void proxyHeartbeat()
throws java.io.IOException
java.io.IOExceptionCopyright © 2024. All Rights Reserved.