public static class MetaMasterMasterService.Client extends AlluxioService.Client implements MetaMasterMasterService.Iface
Modifier and Type | Class and Description |
---|---|
static class |
MetaMasterMasterService.Client.Factory |
Constructor and Description |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
Modifier and Type | Method and Description |
---|---|
GetMasterIdTResponse |
getMasterId(MasterNetAddress masterAddress,
GetMasterIdTOptions options)
Returns a master id for the given master address.
|
MasterHeartbeatTResponse |
masterHeartbeat(long masterId,
MasterHeartbeatTOptions options)
Heartbeats to indicate the master is lost or not.
|
GetMasterIdTResponse |
recv_getMasterId() |
MasterHeartbeatTResponse |
recv_masterHeartbeat() |
RegisterMasterTResponse |
recv_registerMaster() |
RegisterMasterTResponse |
registerMaster(long masterId,
RegisterMasterTOptions options)
Registers a master.
|
void |
send_getMasterId(MasterNetAddress masterAddress,
GetMasterIdTOptions options) |
void |
send_masterHeartbeat(long masterId,
MasterHeartbeatTOptions options) |
void |
send_registerMaster(long masterId,
RegisterMasterTOptions options) |
getServiceVersion, recv_getServiceVersion, send_getServiceVersion
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceVersion
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public GetMasterIdTResponse getMasterId(MasterNetAddress masterAddress, GetMasterIdTOptions options) throws AlluxioTException, org.apache.thrift.TException
MetaMasterMasterService.Iface
getMasterId
in interface MetaMasterMasterService.Iface
masterAddress
- the master addressoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
public void send_getMasterId(MasterNetAddress masterAddress, GetMasterIdTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public GetMasterIdTResponse recv_getMasterId() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public RegisterMasterTResponse registerMaster(long masterId, RegisterMasterTOptions options) throws AlluxioTException, org.apache.thrift.TException
MetaMasterMasterService.Iface
registerMaster
in interface MetaMasterMasterService.Iface
masterId
- the id of the masteroptions
- the method optionsAlluxioTException
org.apache.thrift.TException
public void send_registerMaster(long masterId, RegisterMasterTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public RegisterMasterTResponse recv_registerMaster() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
public MasterHeartbeatTResponse masterHeartbeat(long masterId, MasterHeartbeatTOptions options) throws AlluxioTException, org.apache.thrift.TException
MetaMasterMasterService.Iface
masterHeartbeat
in interface MetaMasterMasterService.Iface
masterId
- the id of the masteroptions
- the method optionsAlluxioTException
org.apache.thrift.TException
public void send_masterHeartbeat(long masterId, MasterHeartbeatTOptions options) throws org.apache.thrift.TException
org.apache.thrift.TException
public MasterHeartbeatTResponse recv_masterHeartbeat() throws AlluxioTException, org.apache.thrift.TException
AlluxioTException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.