HistoricalBackfillWorker

org.sigilaris.node.jvm.runtime.consensus.hotstuff.HistoricalBackfillWorker
See theHistoricalBackfillWorker companion trait

Companion for HistoricalBackfillWorker.

Attributes

Companion
trait
Source
HistoricalBackfillWorker.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def create[F[_] : Async : Clock](policy: HistoricalBackfillPolicy, historicalBackfill: HistoricalBackfillService[F], archive: HistoricalProposalArchive[F]): F[HistoricalBackfillWorker[F]]

Creates a backfill worker that fetches and archives historical proposals.

Creates a backfill worker that fetches and archives historical proposals.

Attributes

Source
HistoricalBackfillWorker.scala
def createWithNow[F[_] : Async](policy: HistoricalBackfillPolicy, historicalBackfill: HistoricalBackfillService[F], archive: HistoricalProposalArchive[F], now: F[Instant]): F[HistoricalBackfillWorker[F]]

Creates a backfill worker with a custom clock source.

Creates a backfill worker with a custom clock source.

Attributes

Source
HistoricalBackfillWorker.scala
def disabled[F[_] : Applicative]: HistoricalBackfillWorker[F]

Creates a no-op worker that never starts backfill.

Creates a no-op worker that never starts backfill.

Attributes

Source
HistoricalBackfillWorker.scala

Creates a no-op worker that always reports the given status.

Creates a no-op worker that always reports the given status.

Attributes

Source
HistoricalBackfillWorker.scala

Concrete fields

The reason string used when backfill is disabled by policy.

The reason string used when backfill is disabled by policy.

Attributes

Source
HistoricalBackfillWorker.scala