public static final class TimeServiceGrpc.TimeServiceFutureStub extends io.grpc.stub.AbstractStub<TimeServiceGrpc.TimeServiceFutureStub>
Optional service, exposed for testing static time scenarios.
Modifier and Type | Method and Description |
---|---|
protected TimeServiceGrpc.TimeServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
setTime(TimeServiceOuterClass.SetTimeRequest request)
Allows clients to change the ledger's clock in an atomic get-and-set operation.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected TimeServiceGrpc.TimeServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<TimeServiceGrpc.TimeServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> setTime(TimeServiceOuterClass.SetTimeRequest request)
Allows clients to change the ledger's clock in an atomic get-and-set operation. Errors: - ``INVALID_ARGUMENT``: if ``current_time`` is invalid (it MUST precisely match the current time as it's known to the ledger server)