@ThreadSafe public class RetryHandlingMetaMasterProxyClient extends AbstractMasterClient
AbstractClient.RpcCallable<V>
mAlwaysEnableTLS, 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()
This method is called after the connection is made to the remote.
|
protected ServiceType |
getRemoteServiceType() |
protected String |
getServiceName() |
protected long |
getServiceVersion() |
void |
proxyHeartbeat()
Sends a heartbeat to the primary master.
|
afterDisconnect, beforeConnect, getConfAddress, queryGrpcServerAddress
beforeDisconnect, checkVersion, close, connect, connectWithRuntimeException, createChannel, disconnect, getRemoteHostName, getRemoteServiceVersion, getRemoteSockAddress, isClosed, isConnected, retryRPC, retryRPC
public RetryHandlingMetaMasterProxyClient(Address proxyAddress, MasterClientContext conf, long startTimeMs)
proxyAddress
- address of the proxyconf
- master client configurationstartTimeMs
- start timestampprotected ServiceType getRemoteServiceType()
getRemoteServiceType
in class AbstractClient
protected String getServiceName()
getServiceName
in class AbstractClient
protected long getServiceVersion()
getServiceVersion
in class AbstractClient
protected void afterConnect()
AbstractClient
afterConnect
in class AbstractClient
public void proxyHeartbeat() throws IOException
IOException
Copyright © 2023. All Rights Reserved.