Class RetrieveServiceGrpc.RetrieveServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<RetrieveServiceGrpc.RetrieveServiceFutureStub>
-
- cz.o2.proxima.direct.server.rpc.proto.service.RetrieveServiceGrpc.RetrieveServiceFutureStub
-
- Enclosing class:
- RetrieveServiceGrpc
public static final class RetrieveServiceGrpc.RetrieveServiceFutureStub extends io.grpc.stub.AbstractFutureStub<RetrieveServiceGrpc.RetrieveServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RetrieveService.Service that serves for retrieving data from the system (via stream or random access calls).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Rpc.BeginTransactionResponse>begin(Rpc.BeginTransactionRequest request)Synchronous request to begin a transaction.protected RetrieveServiceGrpc.RetrieveServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<Rpc.GetResponse>get(Rpc.GetRequest request)Synchronous request to fetch a value of a specified attribute.com.google.common.util.concurrent.ListenableFuture<Rpc.ListResponse>listAttributes(Rpc.ListRequest request)Synchronous request to list attributes of a specified entity by prefix.com.google.common.util.concurrent.ListenableFuture<Rpc.MultifetchResponse>multifetch(Rpc.MultifetchRequest request)Synchronous request to fetch a list of multiple requests.-
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 RetrieveServiceGrpc.RetrieveServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<RetrieveServiceGrpc.RetrieveServiceFutureStub>
-
get
public com.google.common.util.concurrent.ListenableFuture<Rpc.GetResponse> get(Rpc.GetRequest request)
Synchronous request to fetch a value of a specified attribute.
-
listAttributes
public com.google.common.util.concurrent.ListenableFuture<Rpc.ListResponse> listAttributes(Rpc.ListRequest request)
Synchronous request to list attributes of a specified entity by prefix.
-
multifetch
public com.google.common.util.concurrent.ListenableFuture<Rpc.MultifetchResponse> multifetch(Rpc.MultifetchRequest request)
Synchronous request to fetch a list of multiple requests. The returned list contains responses in the same order as specified in the input list.
-
begin
public com.google.common.util.concurrent.ListenableFuture<Rpc.BeginTransactionResponse> begin(Rpc.BeginTransactionRequest request)
Synchronous request to begin a transaction. Returns most importantly the ID of the transaction that should be the used in subsequent read operations.
-
-