public class ATParticipantRecoveryRecord extends ATParticipantRecoveryRecord
id, participant
Constructor and Description |
---|
ATParticipantRecoveryRecord()
constructor used during recovery processing to create a record whose contents will be
recovered from the object store
|
ATParticipantRecoveryRecord(String id,
Durable2PCParticipant participant,
W3CEndpointReference endpoint)
constructor used during prepare processing to create an AT 1.1 participant record
for saving to the object store
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
create a participant engine to manage commit or rollback processing for the
participant and install it in the active participants table
|
boolean |
isActive()
test whether a participant is currently activated with the id of this recovery record.
|
protected void |
restoreEndpointReference(InputObjectState ios)
restore the endpoint reference to the coordinator for this participant
|
protected void |
saveEndpointReference(OutputObjectState oos)
save the endpoint reference to the coordinator for this participant
|
getId, restoreParticipant, restoreState, saveState, type
public ATParticipantRecoveryRecord(String id, Durable2PCParticipant participant, W3CEndpointReference endpoint)
id
- the id of the application-specific participantparticipant
- the application-specific participantpublic ATParticipantRecoveryRecord()
protected void saveEndpointReference(OutputObjectState oos) throws IOException
saveEndpointReference
in class ATParticipantRecoveryRecord
IOException
protected void restoreEndpointReference(InputObjectState ios) throws IOException
restoreEndpointReference
in class ATParticipantRecoveryRecord
IOException
public void activate()
activate
in class ATParticipantRecoveryRecord
public boolean isActive()
isActive
in class ATParticipantRecoveryRecord
Copyright © 2021 JBoss by Red Hat. All rights reserved.