Facade allows for modification of the underlying raft instance from a controller facade.

Hierarchy

  • default

Implements

Constructors

Properties

Methods

Constructors

Properties

NAME: string = "RaftLease"
VERSION: number = 1
_transport: Transport
NAME: string = "RaftLease"
VERSION: number = 1

Methods

  • ApplyLease is a bulk API to allow applying lease operations to a raft context. If the current controller is not the leader, then a NotLeaderError is returned. Information about where they can locate the leader maybe supplied in the error message, but isn't guaranteed. If no information is supplied, it is expected that the client performs their own algorithm to locate the leader (roundrobin or listen to the apidetails topic).

    Parameters

    Returns Promise<ErrorResults>

Generated using TypeDoc