public class JournalMasterClientServiceHandler extends JournalMasterClientServiceGrpc.JournalMasterClientServiceImplBase
Constructor and Description |
---|
JournalMasterClientServiceHandler(JournalMaster journalMaster)
Creates gRPC service handler for JobMaster service.
|
Modifier and Type | Method and Description |
---|---|
void |
getQuorumInfo(GetQuorumInfoPRequest request,
io.grpc.stub.StreamObserver<GetQuorumInfoPResponse> responseObserver)
Gets list of server states in an embedded journal quorum.
|
void |
removeQuorumServer(RemoveQuorumServerPRequest request,
io.grpc.stub.StreamObserver<RemoveQuorumServerPResponse> responseObserver)
Removes a server from embedded journal quorum.
|
bindService
public JournalMasterClientServiceHandler(JournalMaster journalMaster)
journalMaster
- the journal masterpublic void getQuorumInfo(GetQuorumInfoPRequest request, io.grpc.stub.StreamObserver<GetQuorumInfoPResponse> responseObserver)
JournalMasterClientServiceGrpc.JournalMasterClientServiceImplBase
Gets list of server states in an embedded journal quorum.
getQuorumInfo
in class JournalMasterClientServiceGrpc.JournalMasterClientServiceImplBase
public void removeQuorumServer(RemoveQuorumServerPRequest request, io.grpc.stub.StreamObserver<RemoveQuorumServerPResponse> responseObserver)
JournalMasterClientServiceGrpc.JournalMasterClientServiceImplBase
Removes a server from embedded journal quorum.
removeQuorumServer
in class JournalMasterClientServiceGrpc.JournalMasterClientServiceImplBase
Copyright © 2023. All Rights Reserved.