public class CommitMarkableResourceRecordRecoveryModule extends Object implements RecoveryModule
| Constructor and Description |
|---|
CommitMarkableResourceRecordRecoveryModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyOfCompletedBranch(String commitMarkableResourceJndiName,
Xid xid) |
void |
periodicWorkFirstPass()
Called by the RecoveryManager at start up, and then
PERIODIC_RECOVERY_PERIOD seconds after the completion, for all RecoveryModules,
of the second pass
|
void |
periodicWorkSecondPass()
Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds
after the completion of the first pass
|
boolean |
wasCommitted(String jndiName,
Xid xid)
Can only be called after the first phase has executed
|
public CommitMarkableResourceRecordRecoveryModule()
throws NamingException,
ObjectStoreException
NamingExceptionObjectStoreExceptionpublic void notifyOfCompletedBranch(String commitMarkableResourceJndiName, Xid xid)
public void periodicWorkFirstPass()
RecoveryModuleperiodicWorkFirstPass in interface RecoveryModulepublic void periodicWorkSecondPass()
RecoveryModuleperiodicWorkSecondPass in interface RecoveryModulepublic boolean wasCommitted(String jndiName, Xid xid) throws ObjectStoreException
xid - ObjectStoreException - if the resource manager was offlineCopyright © 2025 JBoss by Red Hat. All rights reserved.