public abstract static class JournalMasterClientServiceGrpc.JournalMasterClientServiceImplBase extends Object implements io.grpc.BindableService
This interface contains journal master service endpoints for Alluxio clients.
Constructor and Description |
---|
JournalMasterClientServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
getNodeState(GetNodeStatePRequest request,
io.grpc.stub.StreamObserver<GetNodeStatePResponse> responseObserver)
Gets the state of the current node and returns whether it is primary or standby.
|
void |
getQuorumInfo(GetQuorumInfoPRequest request,
io.grpc.stub.StreamObserver<GetQuorumInfoPResponse> responseObserver)
Gets list of server states in an embedded journal quorum.
|
void |
getTransferLeaderMessage(GetTransferLeaderMessagePRequest request,
io.grpc.stub.StreamObserver<GetTransferLeaderMessagePResponse> responseObserver)
Gets exception message throwing when transfer leader.
|
void |
removeQuorumServer(RemoveQuorumServerPRequest request,
io.grpc.stub.StreamObserver<RemoveQuorumServerPResponse> responseObserver)
Removes a server from embedded journal quorum.
|
void |
resetPriorities(ResetPrioritiesPRequest request,
io.grpc.stub.StreamObserver<ResetPrioritiesPResponse> responseObserver)
Reset all the RaftPeer priorities.
|
void |
transferLeadership(TransferLeadershipPRequest request,
io.grpc.stub.StreamObserver<TransferLeadershipPResponse> responseObserver)
Transfers the leadership from the current leader to another designated leader.
|
public void getQuorumInfo(GetQuorumInfoPRequest request, io.grpc.stub.StreamObserver<GetQuorumInfoPResponse> responseObserver)
Gets list of server states in an embedded journal quorum.
public void removeQuorumServer(RemoveQuorumServerPRequest request, io.grpc.stub.StreamObserver<RemoveQuorumServerPResponse> responseObserver)
Removes a server from embedded journal quorum.
public void transferLeadership(TransferLeadershipPRequest request, io.grpc.stub.StreamObserver<TransferLeadershipPResponse> responseObserver)
Transfers the leadership from the current leader to another designated leader.
public void resetPriorities(ResetPrioritiesPRequest request, io.grpc.stub.StreamObserver<ResetPrioritiesPResponse> responseObserver)
Reset all the RaftPeer priorities.
public void getTransferLeaderMessage(GetTransferLeaderMessagePRequest request, io.grpc.stub.StreamObserver<GetTransferLeaderMessagePResponse> responseObserver)
Gets exception message throwing when transfer leader.
public void getNodeState(GetNodeStatePRequest request, io.grpc.stub.StreamObserver<GetNodeStatePResponse> responseObserver)
Gets the state of the current node and returns whether it is primary or standby.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService
Copyright © 2023. All Rights Reserved.