public static final class JournalMasterClientServiceGrpc.JournalMasterClientServiceStub extends io.grpc.stub.AbstractAsyncStub<JournalMasterClientServiceGrpc.JournalMasterClientServiceStub>
This interface contains journal master service endpoints for Alluxio clients.
Modifier and Type | Method and Description |
---|---|
protected JournalMasterClientServiceGrpc.JournalMasterClientServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
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.
|
protected JournalMasterClientServiceGrpc.JournalMasterClientServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<JournalMasterClientServiceGrpc.JournalMasterClientServiceStub>
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.
Copyright © 2023. All Rights Reserved.