class SequencerBftPruningAdministrationGroup extends PruningSchedulerAdministration[SequencerBftPruningAdministrationServiceStub] with FeatureFlagFilter with Helpful
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SequencerBftPruningAdministrationGroup
- FeatureFlagFilter
- NamedLogging
- PruningSchedulerAdministration
- Helpful
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SequencerBftPruningAdministrationGroup(runner: AdminCommandRunner, consoleEnvironment: ConsoleEnvironment, loggerFactory: NamedLoggerFactory)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cantonConfig: CantonConfig
- Attributes
- protected
- Definition Classes
- FeatureFlagFilter
- def check[T](flag: FeatureFlag)(command: => T): T
- Attributes
- protected
- Definition Classes
- FeatureFlagFilter
- def clear_schedule(): Unit
- Definition Classes
- PruningSchedulerAdministration
- Annotations
- @Summary(s = "Deactivate automatic pruning.", flag = console.this.Help.Summary.<init>$default$2)
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val consoleEnvironment: ConsoleEnvironment
- Attributes
- protected
- Definition Classes
- PruningSchedulerAdministration
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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.
""")
- 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.
""")
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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"))
- def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- PruningSchedulerAdministration
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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.""")
- 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.
""")
- 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.
""")
- 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.
""")
- 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)
- 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.
""")
- 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.
""")
- 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
|""")
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])