commitOnePhase method
Implementation
bool commitOnePhase() {
final rc = _backend.xaCommitOnePhase(xaId);
if (rc == 0) {
_state = XaState.committed;
return true;
}
_state = XaState.failed;
return false;
}
bool commitOnePhase() {
final rc = _backend.xaCommitOnePhase(xaId);
if (rc == 0) {
_state = XaState.committed;
return true;
}
_state = XaState.failed;
return false;
}