class GrpcPruningService extends PruningService with HasPruningScheduler with GrpcPruningScheduler with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GrpcPruningService
  2. NamedLogging
  3. GrpcPruningScheduler
  4. HasPruningScheduler
  5. PruningService
  6. AbstractService
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GrpcPruningService(participantId: ParticipantId, sync: CantonSyncService, pruningScheduler: ParticipantPruningScheduler, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearSchedule(request: ClearScheduleRequest): Future[ClearScheduleResponse]
    Definition Classes
    GrpcPruningScheduler
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def convertF[T](f: => ParsingResult[T])(implicit traceContext: TraceContext): Future[T]
    Attributes
    protected
    Definition Classes
    GrpcPruningScheduler
  8. def convertRequiredF[P, T](field: String, value: Option[P], f: (P) => ParsingResult[T])(implicit traceContext: TraceContext): Future[T]
    Attributes
    protected
    Definition Classes
    GrpcPruningScheduler
  9. implicit val ec: ExecutionContext
  10. def ensureScheduler(implicit traceContext: TraceContext): Future[ParticipantPruningScheduler]
    Attributes
    protected
    Definition Classes
    GrpcPruningServiceHasPruningScheduler
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def getNoWaitCommitmentsFrom(request: GetNoWaitCommitmentsFromRequest): Future[GetNoWaitCommitmentsFromResponse]

    Retrieve the configuration of waiting for commitments from counter-participants

    Retrieve the configuration of waiting for commitments from counter-participants

    Definition Classes
    GrpcPruningServicePruningService
  16. def getParticipantSchedule(request: GetParticipantScheduleRequest): Future[GetParticipantScheduleResponse]

    Retrieve the automatic, participant-specific pruning configuration.

    Retrieve the automatic, participant-specific pruning configuration.

    Definition Classes
    GrpcPruningServicePruningService
  17. def getSafePruningOffset(request: GetSafePruningOffsetRequest): Future[GetSafePruningOffsetResponse]

    Retrieve the safe pruning offset

    Retrieve the safe pruning offset

    Definition Classes
    GrpcPruningServicePruningService
  18. def getSchedule(request: GetScheduleRequest): Future[GetScheduleResponse]
    Definition Classes
    GrpcPruningScheduler
  19. def handlePassiveHAStorageError(update: Future[Unit], commandName: String): Future[Unit]
    Attributes
    protected
    Definition Classes
    GrpcPruningScheduler
  20. def handleUserError(update: EitherT[Future, String, Unit]): Future[Unit]
    Attributes
    protected
    Definition Classes
    GrpcPruningScheduler
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    GrpcPruningServiceNamedLogging
  25. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. def prune(request: PruneRequest): Future[PruneResponse]

    Prune the participant specifying the offset before and at which ledger transactions should be removed.

    Prune the participant 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 one of the following errors: - INVALID_ARGUMENT: if the payload, particularly the offset is malformed or missing - INTERNAL: if the participant has encountered a failure and has potentially applied pruning partially. Such cases warrant verifying the participant health before retrying the prune with the same (or a larger, valid) offset. Successful retries after such errors ensure that different components reach a consistent pruning state. - FAILED_PRECONDITION: if the participant is not yet able to prune at the specified offset or if pruning is invoked on a participant running the Community Edition. Note that this endpoint only prunes the Canton stores not the ledger API stores. For the latter, use the pruning service on the ledger API. This limitation only applies to this endpoint, the other endpoints in this service, most notably the ones for scheduled pruning prune all stores.

    Definition Classes
    GrpcPruningServicePruningService
  31. def resetNoWaitCommitmentsFrom(request: ResetNoWaitCommitmentsFromRequest): Future[ResetNoWaitCommitmentsFromResponse]

    Enable waiting for commitments from the given counter-participants Waiting for commitments is the default behavior; explicitly enabling it is useful if it was explicitly disabled

    Enable waiting for commitments from the given counter-participants Waiting for commitments is the default behavior; explicitly enabling it is useful if it was explicitly disabled

    Definition Classes
    GrpcPruningServicePruningService
  32. def serviceCompanion: ServiceCompanion[PruningService]
    Definition Classes
    PruningService → AbstractService
  33. def setCron(request: SetCronRequest): Future[SetCronResponse]
    Definition Classes
    GrpcPruningScheduler
  34. def setMaxDuration(request: SetMaxDurationRequest): Future[SetMaxDurationResponse]
    Definition Classes
    GrpcPruningScheduler
  35. def setNoWaitCommitmentsFrom(request: SetNoWaitCommitmentsFromRequest): Future[SetNoWaitCommitmentsFromResponse]

    Enable or disable waiting for commitments from the given counter-participants Disabling waiting for commitments disregards these counter-participants w.r.t.

    Enable or disable waiting for commitments from the given counter-participants Disabling waiting for commitments disregards these counter-participants w.r.t. pruning, which gives up non-repudiation for those counter-participants, but increases pruning resilience to failures and slowdowns of those counter-participants and/or the network

    Definition Classes
    GrpcPruningServicePruningService
  36. def setParticipantSchedule(request: SetParticipantScheduleRequest): Future[SetParticipantScheduleResponse]

    Enable automatic pruning with participant-specific schedule parameters.

    Enable automatic pruning with participant-specific schedule parameters.

    Definition Classes
    GrpcPruningServicePruningService
  37. def setRetention(request: SetRetentionRequest): Future[SetRetentionResponse]
    Definition Classes
    GrpcPruningScheduler
  38. def setSchedule(request: SetScheduleRequest): Future[SetScheduleResponse]
    Definition Classes
    GrpcPruningScheduler
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from NamedLogging

Inherited from GrpcPruningScheduler

Inherited from HasPruningScheduler

Inherited from PruningService

Inherited from AbstractService

Inherited from AnyRef

Inherited from Any

Ungrouped