c

com.digitalasset.canton.console.commands

SequencerBftPruningAdministrationGroup

class SequencerBftPruningAdministrationGroup extends PruningSchedulerAdministration[SequencerBftPruningAdministrationServiceStub] with FeatureFlagFilter with Helpful

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequencerBftPruningAdministrationGroup
  2. FeatureFlagFilter
  3. NamedLogging
  4. PruningSchedulerAdministration
  5. Helpful
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SequencerBftPruningAdministrationGroup(runner: AdminCommandRunner, consoleEnvironment: ConsoleEnvironment, loggerFactory: NamedLoggerFactory)

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 cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  6. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  7. def clear_schedule(): Unit
    Definition Classes
    PruningSchedulerAdministration
    Annotations
    @Summary(s = "Deactivate automatic pruning.", flag = console.this.Help.Summary.<init>$default$2)
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val consoleEnvironment: ConsoleEnvironment
    Attributes
    protected
    Definition Classes
    PruningSchedulerAdministration
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def get_bft_schedule(): Option[BftOrdererPruningSchedule]
    Annotations
    @Summary(s = "Inspect the automatic, bft-orderer-specific pruning schedule.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """The schedule consists of a "cron" expression and "max_duration" and "retention" durations as described in the
    |``get_schedule`` command description. Additionally "min_blocks_to_keep" indicates how many blocks should be kept
    | at a minimum after the pruning operation ends, even if fewer blocks would remain based on retention alone.
    """
    )
  15. def get_schedule(): Option[PruningSchedule]
    Definition Classes
    PruningSchedulerAdministration
    Annotations
    @Summary(s = "Inspect the automatic pruning schedule.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """The schedule consists of a "cron" expression and "max_duration" and "retention" durations. The cron string
    |indicates the points in time at which pruning should begin in the GMT time zone, and the maximum duration
    |indicates how long from the start time pruning is allowed to run as long as pruning has not finished pruning
    |up to the specified retention period.
    |Returns `None` if no schedule has been configured via `set_schedule` or if `clear_schedule` has been invoked.
    """
    )
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
    Annotations
    @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
  18. def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    PruningSchedulerAdministration
  22. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. def prune(retention: PositiveDurationSeconds, minBlocksToKeep: Int): String
    Annotations
    @Summary(s = "Prune the BFT Orderer layer based on the retention period and minimum blocks to keep specified", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Prunes the BFT Orderer layer based on the retention period and minimum blocks to keep specified
    | returning a description of how the operation went."""
    )
  28. def set_bft_schedule(cron: String, maxDuration: PositiveDurationSeconds, retention: PositiveDurationSeconds, minBlocksToKeep: Int = BftOrdererPruningSchedule.DefaultMinNumberOfBlocksToKeep): Unit
    Annotations
    @Summary(s = "Activate automatic pruning according to the specified schedule with bft-orderer-specific options.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Refer to the ``set_schedule`` description for information about the "cron", "max_duration", and "retention"
    |parameters. The "min-blocks-to-keep" option refers to how many blocks should be kept at a minimum after the
    |pruning operation ends, even if fewer blocks would remain based on retention alone.
    """
    )
  29. def set_cron(cron: String): Unit
    Definition Classes
    PruningSchedulerAdministration
    Annotations
    @Summary(s = "Modify the cron used by automatic pruning.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """The schedule is specified in cron format and refers to pruning start times in the GMT time zone.
    |This call returns an error if no schedule has been configured via `set_schedule` or if automatic
    |pruning has been disabled via `clear_schedule`. Additionally if at the time of this modification, pruning is
    |actively running, a best effort is made to pause pruning and restart according to the new schedule. This
    |allows for the case that the new schedule no longer allows pruning at the current time.
    """
    )
  30. def set_max_duration(maxDuration: PositiveDurationSeconds): Unit
    Definition Classes
    PruningSchedulerAdministration
    Annotations
    @Summary(s = "Modify the maximum duration used by automatic pruning.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """The `maxDuration` is specified as a positive duration and has at most per-second granularity.
    |This call returns an error if no schedule has been configured via `set_schedule` or if automatic
    |pruning has been disabled via `clear_schedule`. Additionally if at the time of this modification, pruning is
    |actively running, a best effort is made to pause pruning and restart according to the new schedule. This
    |allows for the case that the new schedule no longer allows pruning at the current time.
    """
    )
  31. def set_min_blocks_to_keep(minBlocksToKeep: Int): Unit
    Annotations
    @Summary(s = "Set min-blocks-to-keep parameter of automatic pruning schedule for the bft orderer", flag = console.this.Help.Summary.<init>$default$2)
  32. def set_retention(retention: PositiveDurationSeconds): Unit
    Definition Classes
    PruningSchedulerAdministration
    Annotations
    @Summary(s = "Update the pruning retention used by automatic pruning.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """The `retention` is specified as a positive duration and has at most per-second granularity.
    |This call returns an error if no schedule has been configured via `set_schedule` or if automatic
    |pruning has been disabled via `clear_schedule`. Additionally if at the time of this update, pruning is
    |actively running, a best effort is made to pause pruning and restart with the newly specified retention.
    |This allows for the case that the new retention mandates retaining more data than previously.
    """
    )
  33. def set_schedule(cron: String, maxDuration: PositiveDurationSeconds, retention: PositiveDurationSeconds): Unit
    Definition Classes
    PruningSchedulerAdministration
    Annotations
    @Summary(s = "Activate automatic pruning according to the specified schedule.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """The schedule is specified in cron format and "max_duration" and "retention" durations. The cron string indicates
    |the points in time at which pruning should begin in the GMT time zone, and the maximum duration indicates how
    |long from the start time pruning is allowed to run as long as pruning has not finished pruning up to the
    |specified retention period.
    """
    )
  34. def status(): BftPruningStatus
    Annotations
    @Summary(s = "Pruning status of the BFT Orderer", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Provides a detailed breakdown of information required for pruning:
    | - the latest block number
    | - the latest block epoch number
    | - the latest block timestamp
    | - the lower bound inclusive epoch number it current supports serving from
    | - the lower bound inclusive block number it current supports serving from
    |"""
    )
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. 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 FeatureFlagFilter

Inherited from NamedLogging

Inherited from Helpful

Inherited from AnyRef

Inherited from Any

Ungrouped