public static final class JournalMasterClientServiceGrpc.JournalMasterClientServiceFutureStub extends io.grpc.stub.AbstractFutureStub<JournalMasterClientServiceGrpc.JournalMasterClientServiceFutureStub>
This interface contains journal master service endpoints for Alluxio clients.
Modifier and Type | Method and Description |
---|---|
protected JournalMasterClientServiceGrpc.JournalMasterClientServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<GetNodeStatePResponse> |
getNodeState(GetNodeStatePRequest request)
Gets the state of the current node and returns whether it is primary or standby.
|
com.google.common.util.concurrent.ListenableFuture<GetQuorumInfoPResponse> |
getQuorumInfo(GetQuorumInfoPRequest request)
Gets list of server states in an embedded journal quorum.
|
com.google.common.util.concurrent.ListenableFuture<GetTransferLeaderMessagePResponse> |
getTransferLeaderMessage(GetTransferLeaderMessagePRequest request)
Gets exception message throwing when transfer leader.
|
com.google.common.util.concurrent.ListenableFuture<RemoveQuorumServerPResponse> |
removeQuorumServer(RemoveQuorumServerPRequest request)
Removes a server from embedded journal quorum.
|
com.google.common.util.concurrent.ListenableFuture<ResetPrioritiesPResponse> |
resetPriorities(ResetPrioritiesPRequest request)
Reset all the RaftPeer priorities.
|
com.google.common.util.concurrent.ListenableFuture<TransferLeadershipPResponse> |
transferLeadership(TransferLeadershipPRequest request)
Transfers the leadership from the current leader to another designated leader.
|
protected JournalMasterClientServiceGrpc.JournalMasterClientServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<JournalMasterClientServiceGrpc.JournalMasterClientServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<GetQuorumInfoPResponse> getQuorumInfo(GetQuorumInfoPRequest request)
Gets list of server states in an embedded journal quorum.
public com.google.common.util.concurrent.ListenableFuture<RemoveQuorumServerPResponse> removeQuorumServer(RemoveQuorumServerPRequest request)
Removes a server from embedded journal quorum.
public com.google.common.util.concurrent.ListenableFuture<TransferLeadershipPResponse> transferLeadership(TransferLeadershipPRequest request)
Transfers the leadership from the current leader to another designated leader.
public com.google.common.util.concurrent.ListenableFuture<ResetPrioritiesPResponse> resetPriorities(ResetPrioritiesPRequest request)
Reset all the RaftPeer priorities.
public com.google.common.util.concurrent.ListenableFuture<GetTransferLeaderMessagePResponse> getTransferLeaderMessage(GetTransferLeaderMessagePRequest request)
Gets exception message throwing when transfer leader.
public com.google.common.util.concurrent.ListenableFuture<GetNodeStatePResponse> getNodeState(GetNodeStatePRequest request)
Gets the state of the current node and returns whether it is primary or standby.
Copyright © 2023. All Rights Reserved.