public abstract class MasterClientBase extends ClientBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mUseZookeeper |
mAddress, mClosed, mConnected, mMode, mProtocol, mTachyonConf, RPC_MAX_NUM_RETRY| Constructor and Description |
|---|
MasterClientBase(InetSocketAddress masterAddress,
TachyonConf tachyonConf)
Creates a new master client base.
|
| Modifier and Type | Method and Description |
|---|---|
protected InetSocketAddress |
getAddress()
Returns the
InetSocketAddress of the master. |
afterConnect, afterDisconnect, close, connect, disconnect, getServiceName, isConnected, resetConnectionpublic MasterClientBase(InetSocketAddress masterAddress, TachyonConf tachyonConf)
masterAddress - the master addresstachyonConf - the Tachyon configurationprotected InetSocketAddress getAddress()
InetSocketAddress of the master. If zookeeper is used, this will consult
the zookeeper instance for the master address.getAddress in class ClientBaseInetSocketAddress of the masterCopyright © 2015. All Rights Reserved.