public interface Resource
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
Resource.Result
The enum Result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
commit()
Commit.
|
void |
onePhaseCommit()
1 pc .
|
Resource.Result |
prepare()
2pc phase 1.
|
void |
rollback()
Rollback.
|
Resource.Result prepare() throws RemoteException
RemoteException - the remote exceptionvoid rollback()
throws RemoteException
RemoteException - the remote exceptionvoid commit()
throws TransactionRolledbackException,
RemoteException
TransactionRolledbackException - the transaction rolledback exceptionRemoteException - the remote exceptionvoid onePhaseCommit()
throws RemoteException
RemoteException - the remote exceptionCopyright © 2022 dromara. All rights reserved.