public static interface MetaMasterMasterService.Iface extends AlluxioService.Iface
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.
|
RegisterMasterTResponse |
registerMaster(long masterId,
RegisterMasterTOptions options)
Registers a master.
|
getServiceVersion
GetMasterIdTResponse getMasterId(MasterNetAddress masterAddress, GetMasterIdTOptions options) throws AlluxioTException, org.apache.thrift.TException
masterAddress
- the master addressoptions
- the method optionsAlluxioTException
org.apache.thrift.TException
RegisterMasterTResponse registerMaster(long masterId, RegisterMasterTOptions options) throws AlluxioTException, org.apache.thrift.TException
masterId
- the id of the masteroptions
- the method optionsAlluxioTException
org.apache.thrift.TException
MasterHeartbeatTResponse masterHeartbeat(long masterId, MasterHeartbeatTOptions options) throws AlluxioTException, org.apache.thrift.TException
masterId
- the id of the masteroptions
- the method optionsAlluxioTException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.