Package com.daml.ledger.api.v1.admin
Class ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub
- java.lang.Object
 - 
- io.grpc.stub.AbstractStub<S>
 - 
- io.grpc.stub.AbstractBlockingStub<ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub>
 - 
- com.daml.ledger.api.v1.admin.ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub
 
 
 
 
- 
- Enclosing class:
 - ParticipantPruningServiceGrpc
 
public static final class ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub>
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.
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)ParticipantPruningServiceOuterClass.PruneResponseprune(ParticipantPruningServiceOuterClass.PruneRequest request)Prune the ledger specifying the offset before and at which ledger transactions should be removed. 
 - 
 
- 
- 
Method Detail
- 
build
protected ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
 buildin classio.grpc.stub.AbstractStub<ParticipantPruningServiceGrpc.ParticipantPruningServiceBlockingStub>
 
- 
prune
public ParticipantPruningServiceOuterClass.PruneResponse prune(ParticipantPruningServiceOuterClass.PruneRequest request)
Prune the ledger specifying the offset before and at which ledger transactions should be removed. Only returns when the potentially long-running prune request ends successfully or with an error.
 
 - 
 
 -