Package com.daml.ledger.api.v2.admin
Class ParticipantPruningServiceGrpc
java.lang.Object
com.daml.ledger.api.v2.admin.ParticipantPruningServiceGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: com/daml/ledger/api/v2/admin/participant_pruning_service.proto")
public final class ParticipantPruningServiceGrpc
extends Object
Prunes/truncates the "oldest" transactions from the participant (the participant Ledger Api Server plus any other participant-local state) by removing a portion of the ledger in such a way that the set of future, allowed commands are not affected. This enables: 1. keeping the "inactive" portion of the ledger to a manageable size and 2. removing inactive state to honor the right to be forgotten.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePrunes/truncates the "oldest" transactions from the participant (the participant Ledger Api Server plus any other participant-local state) by removing a portion of the ledger in such a way that the set of future, allowed commands are not affected.static final classA stub to allow clients to do synchronous rpc calls to service ParticipantPruningService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ParticipantPruningService.static classBase class for the server implementation of the service ParticipantPruningService.static final classA stub to allow clients to do asynchronous rpc calls to service ParticipantPruningService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<ParticipantPruningServiceOuterClass.PruneRequest,ParticipantPruningServiceOuterClass.PruneResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getPruneMethod
public static io.grpc.MethodDescriptor<ParticipantPruningServiceOuterClass.PruneRequest,ParticipantPruningServiceOuterClass.PruneResponse> getPruneMethod() -
newStub
public static ParticipantPruningServiceGrpc.ParticipantPruningServiceStub newStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service -
newBlockingStub
public static ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static ParticipantPruningServiceGrpc.ParticipantPruningServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ParticipantPruningServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-