|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface ResourceRecoveryManager
ResourceRecoveryManager interface to be implemented by the resource manager that supports XA recovery.
| Method Summary | |
|---|---|
boolean |
recoverIncompleteTx(boolean delegated,
java.lang.String logPath)
recover incomplete transactions |
boolean |
recoverIncompleteTx(boolean delegated,
java.lang.String logPath,
java.lang.String instance,
boolean notifyRecoveryListeners)
recover incomplete transactions with before and after event notifications |
void |
recoverXAResources()
to recover xa resources |
void |
recoverXAResources(boolean force)
recover the xa-resources |
void |
setLazyRecovery(boolean lazy)
to enable lazy recovery, setting lazy to "true" will |
| Method Detail |
|---|
boolean recoverIncompleteTx(boolean delegated,
java.lang.String logPath)
throws java.lang.Exception
delegated - indicates whether delegated recovery is neededlogPath - transaction log directory path
java.lang.Exception - when unable to recover
boolean recoverIncompleteTx(boolean delegated,
java.lang.String logPath,
java.lang.String instance,
boolean notifyRecoveryListeners)
throws java.lang.Exception
delegated - indicates whether delegated recovery is neededlogPath - transaction log directory pathinstance - the name opf the instance for which delegated recovery is requested, null if unknownnotifyRecoveryListeners - specifies whether recovery listeners are to be notified
java.lang.Exception - when unable to recovervoid recoverXAResources(boolean force)
force - boolean to indicate if it has to be forced.void recoverXAResources()
void setLazyRecovery(boolean lazy)
lazy - boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||