@NotThreadSafe public final class MetaMasterMasterServiceHandler extends MetaMasterMasterServiceGrpc.MetaMasterMasterServiceImplBase
Constructor and Description |
---|
MetaMasterMasterServiceHandler(MetaMaster metaMaster)
Creates a new instance of
MetaMasterMasterServiceHandler . |
Modifier and Type | Method and Description |
---|---|
void |
getMasterId(GetMasterIdPRequest request,
io.grpc.stub.StreamObserver<GetMasterIdPResponse> responseObserver)
Returns a master id for the given master address.
|
void |
masterHeartbeat(MasterHeartbeatPRequest request,
io.grpc.stub.StreamObserver<MasterHeartbeatPResponse> responseObserver)
Heartbeats to indicate the master is lost or not.
|
void |
registerMaster(RegisterMasterPRequest request,
io.grpc.stub.StreamObserver<RegisterMasterPResponse> responseObserver)
Registers a master.
|
bindService
public MetaMasterMasterServiceHandler(MetaMaster metaMaster)
MetaMasterMasterServiceHandler
.metaMaster
- the Alluxio meta masterpublic void getMasterId(GetMasterIdPRequest request, io.grpc.stub.StreamObserver<GetMasterIdPResponse> responseObserver)
MetaMasterMasterServiceGrpc.AsyncService
Returns a master id for the given master address.
public void registerMaster(RegisterMasterPRequest request, io.grpc.stub.StreamObserver<RegisterMasterPResponse> responseObserver)
MetaMasterMasterServiceGrpc.AsyncService
Registers a master.
public void masterHeartbeat(MasterHeartbeatPRequest request, io.grpc.stub.StreamObserver<MasterHeartbeatPResponse> responseObserver)
MetaMasterMasterServiceGrpc.AsyncService
Heartbeats to indicate the master is lost or not.
Copyright © 2023. All Rights Reserved.