Interface OnePhaseResource
- All Known Implementing Classes:
XAOnePhaseResource
public interface OnePhaseResource
-
Method Details
-
commit
int commit()Return values from TwoPhaseOutcome to indicate success or failure. If this fails, then we will automatically attempt to rollback any other participants. -
rollback
int rollback()Return values from TwoPhaseOutcome to indicate success or failure. -
pack
- Throws:
IOException
-
unpack
- Throws:
IOException
-