Package s2.v1alpha
Class StreamServiceGrpc.StreamServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<StreamServiceGrpc.StreamServiceFutureStub>
-
- s2.v1alpha.StreamServiceGrpc.StreamServiceFutureStub
-
- Enclosing class:
- StreamServiceGrpc
public static final class StreamServiceGrpc.StreamServiceFutureStub extends io.grpc.stub.AbstractFutureStub<StreamServiceGrpc.StreamServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service StreamService.Operate on an S2 stream.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<AppendResponse>
append(AppendRequest request)
Append a batch of records to a stream.protected StreamServiceGrpc.StreamServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<CheckTailResponse>
checkTail(CheckTailRequest request)
Check the sequence number that will be assigned to the next record on a stream.com.google.common.util.concurrent.ListenableFuture<ReadResponse>
read(ReadRequest request)
Retrieve a batch of records from a stream.-
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.StreamServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<StreamServiceGrpc.StreamServiceFutureStub>
-
checkTail
public com.google.common.util.concurrent.ListenableFuture<CheckTailResponse> checkTail(CheckTailRequest request)
Check the sequence number that will be assigned to the next record on a stream.
-
append
public com.google.common.util.concurrent.ListenableFuture<AppendResponse> append(AppendRequest request)
Append a batch of records to a stream.
-
read
public com.google.common.util.concurrent.ListenableFuture<ReadResponse> read(ReadRequest request)
Retrieve a batch of records from a stream.
-
-