@NotThreadSafe public final class MetaMasterMasterServiceHandler extends Object implements MetaMasterMasterService.Iface
Modifier and Type | Method and Description |
---|---|
GetMasterIdTResponse |
getMasterId(MasterNetAddress address,
GetMasterIdTOptions options)
Returns a master id for the given master address.
|
GetServiceVersionTResponse |
getServiceVersion(GetServiceVersionTOptions options)
Returns the version of the master service.
|
MasterHeartbeatTResponse |
masterHeartbeat(long masterId,
MasterHeartbeatTOptions options)
Heartbeats to indicate the master is lost or not.
|
RegisterMasterTResponse |
registerMaster(long masterId,
RegisterMasterTOptions options)
Registers a master.
|
public GetServiceVersionTResponse getServiceVersion(GetServiceVersionTOptions options)
AlluxioService.Iface
getServiceVersion
in interface AlluxioService.Iface
options
- the method optionspublic GetMasterIdTResponse getMasterId(MasterNetAddress address, GetMasterIdTOptions options) throws AlluxioTException
MetaMasterMasterService.Iface
getMasterId
in interface MetaMasterMasterService.Iface
address
- the master addressoptions
- the method optionsAlluxioTException
public MasterHeartbeatTResponse masterHeartbeat(long masterId, MasterHeartbeatTOptions options) throws AlluxioTException
MetaMasterMasterService.Iface
masterHeartbeat
in interface MetaMasterMasterService.Iface
masterId
- the id of the masteroptions
- the method optionsAlluxioTException
public RegisterMasterTResponse registerMaster(long masterId, RegisterMasterTOptions options) throws AlluxioTException
MetaMasterMasterService.Iface
registerMaster
in interface MetaMasterMasterService.Iface
masterId
- the id of the masteroptions
- the method optionsAlluxioTException
Copyright © 2023. All Rights Reserved.