Package com.daml.ledger.api.v2.admin
Class CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub>
com.daml.ledger.api.v2.admin.CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub
- Enclosing class:
- CommandInspectionServiceGrpc
public static final class CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CommandInspectionService.
Status: experimental interface, will change before it is deemed production ready The inspection service provides methods for the ledger administrator to look under the hood of a running system. In V2 Ledger API this service is not available.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CommandInspectionServiceOuterClass.GetCommandStatusResponse>
Inquire about the status of a command.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<CommandInspectionServiceGrpc.CommandInspectionServiceFutureStub>
-
getCommandStatus
public com.google.common.util.concurrent.ListenableFuture<CommandInspectionServiceOuterClass.GetCommandStatusResponse> getCommandStatus(CommandInspectionServiceOuterClass.GetCommandStatusRequest request) Inquire about the status of a command. This service is used for debugging only. The command status is only tracked in memory and is not persisted. The service can be used to understand the failure status and the structure of a command. Requires admin privileges The service is alpha without backward compatibility guarantees.
-