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.
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendResponseappend(AppendRequest request)Append a batch of records to a stream.protected StreamServiceGrpc.StreamServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)CheckTailResponsecheckTail(CheckTailRequest request)Check the sequence number that will be assigned to the next record on a stream.ReadResponseread(ReadRequest request)Retrieve a batch of records from a stream.java.util.Iterator<ReadSessionResponse>readSession(ReadSessionRequest request)Retrieve batches of records from a stream continuously.- 
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady 
 - 
 
 - 
 
- 
- 
Method Detail
- 
build
protected StreamServiceGrpc.StreamServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
 buildin classio.grpc.stub.AbstractStub<StreamServiceGrpc.StreamServiceBlockingStub>
 
- 
checkTail
public CheckTailResponse checkTail(CheckTailRequest request)
Check the sequence number that will be assigned to the next record on a stream.
 
- 
append
public AppendResponse append(AppendRequest request)
Append a batch of records to a stream.
 
- 
read
public ReadResponse read(ReadRequest request)
Retrieve a batch of records from a stream.
 
- 
readSession
public java.util.Iterator<ReadSessionResponse> readSession(ReadSessionRequest request)
Retrieve batches of records from a stream continuously.
 
 - 
 
 -