public interface Participant
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the participant at top-level.
|
void |
close()
Confirm the participant at top-level.
|
void |
compensate()
Compensate the participant.
|
void |
forget()
Inform the participant that is can forget the heuristic result.
|
String |
id() |
boolean |
restore_state(com.arjuna.ats.arjuna.state.InputObjectState os) |
boolean |
save_state(com.arjuna.ats.arjuna.state.OutputObjectState os) |
void close()
throws InvalidParticipantException,
WrongStateException,
SystemException
InvalidParticipantException - Thrown if the participant identity is invalid
(e.g., refers to an unknown participant.)WrongStateException - Thrown if the state of the participant is such that
it cannot confirm.SystemException - Thrown if some other error occurred.void cancel()
throws InvalidParticipantException,
WrongStateException,
SystemException
InvalidParticipantException - Thrown if the participant identity is invalid
(e.g., refers to an unknown participant.)WrongStateException - Thrown if the state of the participant is such that
it cannot cancel.SystemException - Thrown if some other error occurred.void compensate()
throws CompensateFailedException,
InvalidParticipantException,
WrongStateException,
SystemException
InvalidParticipantException - Thrown if the participant identity is invalid
(e.g., refers to an unknown participant.)WrongStateException - Thrown if the state of the participant is such that
it cannot cancel.SystemException - Thrown if some other error occurred.CompensateFailedExceptionvoid forget()
throws InvalidParticipantException,
WrongStateException,
SystemException
InvalidParticipantException - Thrown if the participant identity is invalid.WrongStateException - Thrown if the participant is in an invalid state.SystemException - Thrown in the event of a general fault.String id() throws SystemException
SystemExceptionboolean save_state(com.arjuna.ats.arjuna.state.OutputObjectState os)
boolean restore_state(com.arjuna.ats.arjuna.state.InputObjectState os)
Copyright © 2013. All rights reserved.