Package com.daml.ledger.api.v2.admin
Class CommandInspectionServiceGrpc.CommandInspectionServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CommandInspectionServiceGrpc.CommandInspectionServiceStub>
com.daml.ledger.api.v2.admin.CommandInspectionServiceGrpc.CommandInspectionServiceStub
- Enclosing class:
- CommandInspectionServiceGrpc
public static final class CommandInspectionServiceGrpc.CommandInspectionServiceStub
extends io.grpc.stub.AbstractAsyncStub<CommandInspectionServiceGrpc.CommandInspectionServiceStub>
A stub to allow clients to do asynchronous 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) void
getCommandStatus
(CommandInspectionServiceOuterClass.GetCommandStatusRequest request, io.grpc.stub.StreamObserver<CommandInspectionServiceOuterClass.GetCommandStatusResponse> responseObserver) Inquire about the status of a command.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.CommandInspectionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<CommandInspectionServiceGrpc.CommandInspectionServiceStub>
-
getCommandStatus
public void getCommandStatus(CommandInspectionServiceOuterClass.GetCommandStatusRequest request, io.grpc.stub.StreamObserver<CommandInspectionServiceOuterClass.GetCommandStatusResponse> responseObserver) 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.
-