_verifyOptimisticLock (that) {
      if (this._optimisticLockMatches(that)) return

      throw new OptimisticLockViolationError({
        message: 'optimistic lock violation',
        info: { thiz: this, that }
      })
    }
/**
     * Verifies that the optimistic lock of the given object matches `this._optimisticLock`, else throws an `OptimisticLockViolationError`.
     *
     * @param that
     * @private
     */
Verifies that the optimistic lock of the given object matches `this._optimisticLock`, else throws an `OptimisticLockViolationError`.
@param that
@private
Verifies that the optimistic lock of the given object matches ` this . _optimisticLock ` else throws an ` OptimisticLockViolationError ` . @param that @private
_verifyOptimisticLock (that) {
      if (this._optimisticLockMatches(that)) return
      throw new OptimisticLockViolationError({
        message: 'optimistic lock violation',
        info: { thiz: this, that }
      })
    }
_verifyOptimisticLock ( that ) { if ( this . _optimisticLockMatches ( that ) ) return throw new OptimisticLockViolationError ( { message : 'optimistic lock violation' , info : { thiz : this , that } } ) }
Verifies that the optimistic lock of the given object matches `this._optimisticLock`, else throws an `OptimisticLockViolationError`.
Verifies that the optimistic lock of the given object matches ` this . _optimisticLock ` else throws an ` OptimisticLockViolationError ` .