XaIdRequest constructor
XaIdRequest(
- int requestId,
- RequestType type,
- 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',
);