An internal set of resources supporting bulk operations for Transaction.

Constructors

  • Parameters

    Returns ResourceSet

Methods

  • Returns SetIterator<Resource>

  • Wait until the resources have no exclusive transactions and then lock.

    Returns Promise<Set<Resource>>

  • Acquire locks synchronously.

    Throws an error if resources aren't lockable.

    Returns Set<Resource>

  • Ensure that a transaction that is committing or rolling back has all resources locked.

    This is just a sanity check.

    Parameters

    Returns void

  • Release locks.

    Returns Set<Resource>