XaIdRequest constructor

XaIdRequest(
  1. int requestId,
  2. RequestType type,
  3. int xaId
)

Implementation

XaIdRequest(super.requestId, super.type, this.xaId)
    : assert(
        type == RequestType.xaEnd ||
            type == RequestType.xaPrepare ||
            type == RequestType.xaCommitPrepared ||
            type == RequestType.xaRollbackPrepared ||
            type == RequestType.xaCommitOnePhase ||
            type == RequestType.xaRollbackActive,
        'XaIdRequest type must be an XA lifecycle op',
      );