Class RaftGrpc.RaftStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RaftGrpc.RaftStub>
io.metaloom.qdrant.client.grpc.proto.RaftGrpc.RaftStub
- Enclosing class:
- RaftGrpc
public static final class RaftGrpc.RaftStub
extends io.grpc.stub.AbstractAsyncStub<RaftGrpc.RaftStub>
-
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 TypeMethodDescriptionvoidaddPeerAsParticipant(RaftService.PeerId request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) DEPRECATED Its functionality is now included in `AddPeerToKnown` Send to bootstrap peer Proposes to add this peer as participant of consensusvoidaddPeerToKnown(RaftService.AddPeerToKnownMessage request, io.grpc.stub.StreamObserver<RaftService.AllPeers> responseObserver) Send to bootstrap peer Adds peer to the network Returns all peersprotected RaftGrpc.RaftStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidsend(RaftService.RaftMessage request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Send Raft message to another peervoidwhoIs(RaftService.PeerId request, io.grpc.stub.StreamObserver<RaftService.Uri> responseObserver) Send to bootstrap peer Returns uri by id if bootstrap knows this peerMethods inherited from class io.grpc.stub.AbstractAsyncStub
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.RaftStub>
-
send
public void send(RaftService.RaftMessage request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Send Raft message to another peer
-
whoIs
public void whoIs(RaftService.PeerId request, io.grpc.stub.StreamObserver<RaftService.Uri> responseObserver) Send to bootstrap peer Returns uri by id if bootstrap knows this peer
-
addPeerToKnown
public void addPeerToKnown(RaftService.AddPeerToKnownMessage request, io.grpc.stub.StreamObserver<RaftService.AllPeers> responseObserver) Send to bootstrap peer Adds peer to the network Returns all peers
-
addPeerAsParticipant
public void addPeerAsParticipant(RaftService.PeerId request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) DEPRECATED Its functionality is now included in `AddPeerToKnown` Send to bootstrap peer Proposes to add this peer as participant of consensus
-