@sovereignbase/frontier-store
    Preparing search index...

    Class FrontierStore

    Stores acknowledged garbage-collection frontiers by CRDT kind, CRDT target, and acknowledging entity.

    A FrontierStore collects acknowledgement frontiers emitted by CRDT replicas. Each method receives the CRDT kind so the corresponding frontier type can be inferred for that operation.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Deletes acknowledgement frontiers from the store.

      If entityId is provided, only that entity's frontier is deleted from the target. If the target becomes empty, the target entry is removed.

      If entityId is omitted, all frontiers for the target are deleted. If the CRDT kind becomes empty, the kind entry is removed.

      Type Parameters

      Parameters

      • kind: K

        CRDT acknowledgement kind.

      • targetId: string

        Identifier of the CRDT target.

      • OptionalentityId: string

        Optional identifier of the acknowledging entity.

      Returns void