Class RaftGrpc.RaftFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RaftGrpc.RaftFutureStub>
io.metaloom.qdrant.client.grpc.proto.RaftGrpc.RaftFutureStub
- Enclosing class:
- RaftGrpc
public static final class RaftGrpc.RaftFutureStub
extends io.grpc.stub.AbstractFutureStub<RaftGrpc.RaftFutureStub>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>addPeerAsParticipant(RaftService.PeerId request) DEPRECATED Its functionality is now included in `AddPeerToKnown` Send to bootstrap peer Proposes to add this peer as participant of consensuscom.google.common.util.concurrent.ListenableFuture<RaftService.AllPeers>Send to bootstrap peer Adds peer to the network Returns all peersprotected RaftGrpc.RaftFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>send(RaftService.RaftMessage request) Send Raft message to another peercom.google.common.util.concurrent.ListenableFuture<RaftService.Uri>whoIs(RaftService.PeerId request) Send to bootstrap peer Returns uri by id if bootstrap knows this peerMethods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<RaftGrpc.RaftFutureStub>
-
send
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> send(RaftService.RaftMessage request) Send Raft message to another peer
-
whoIs
public com.google.common.util.concurrent.ListenableFuture<RaftService.Uri> whoIs(RaftService.PeerId request) Send to bootstrap peer Returns uri by id if bootstrap knows this peer
-
addPeerToKnown
public com.google.common.util.concurrent.ListenableFuture<RaftService.AllPeers> addPeerToKnown(RaftService.AddPeerToKnownMessage request) Send to bootstrap peer Adds peer to the network Returns all peers
-
addPeerAsParticipant
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> addPeerAsParticipant(RaftService.PeerId request) DEPRECATED Its functionality is now included in `AddPeerToKnown` Send to bootstrap peer Proposes to add this peer as participant of consensus
-