public interface OnePhaseResource
Modifier and Type | Method and Description |
---|---|
int |
commit()
Return values from TwoPhaseOutcome to indicate success or failure.
|
void |
pack(OutputObjectState os) |
int |
rollback()
Return values from TwoPhaseOutcome to indicate success or failure.
|
void |
unpack(InputObjectState os) |
int commit()
int rollback()
void pack(OutputObjectState os) throws java.io.IOException
java.io.IOException
void unpack(InputObjectState os) throws java.io.IOException
java.io.IOException