Package s2.v1alpha
Class StreamServiceGrpc.StreamServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<StreamServiceGrpc.StreamServiceBlockingStub>
s2.v1alpha.StreamServiceGrpc.StreamServiceBlockingStub
- Enclosing class:
- StreamServiceGrpc
public static final class StreamServiceGrpc.StreamServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<StreamServiceGrpc.StreamServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service StreamService.
Operate on an S2 stream.
-
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 TypeMethodDescriptionappend
(AppendRequest request) Append a batch of records to a stream.build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) checkTail
(CheckTailRequest request) Check the sequence number that will be assigned to the next record on a stream.read
(ReadRequest request) Retrieve a batch of records from a stream.readSession
(ReadSessionRequest request) Retrieve batches of records from a stream continuously.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected StreamServiceGrpc.StreamServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<StreamServiceGrpc.StreamServiceBlockingStub>
-
checkTail
Check the sequence number that will be assigned to the next record on a stream.
-
append
Append a batch of records to a stream.
-
read
Retrieve a batch of records from a stream.
-
readSession
Retrieve batches of records from a stream continuously.
-