Class InstanceServiceGrpc.InstanceServiceFutureStub (0.2.0)

public static final class InstanceServiceGrpc.InstanceServiceFutureStub extends AbstractFutureStub<InstanceServiceGrpc.InstanceServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service InstanceService.

InstanceService provides the entry interface for the Chronicle API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > InstanceServiceGrpc.InstanceServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected InstanceServiceGrpc.InstanceServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
InstanceServiceGrpc.InstanceServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Gets a Instance.

Parameter
Name Description
request GetInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Instance>