@Contract
public interface ResourceRecoveryManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
recoverIncompleteTx(boolean delegated,
String logPath)
recover incomplete transactions
|
boolean |
recoverIncompleteTx(boolean delegated,
String logPath,
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
|
boolean recoverIncompleteTx(boolean delegated,
String logPath)
throws Exception
delegated - indicates whether delegated recovery is neededlogPath - transaction log directory pathException - when unable to recoverboolean recoverIncompleteTx(boolean delegated,
String logPath,
String instance,
boolean notifyRecoveryListeners)
throws 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 notifiedException - when unable to recovervoid recoverXAResources(boolean force)
force - boolean to indicate if it has to be forced.void recoverXAResources()
void setLazyRecovery(boolean lazy)
lazy - booleanCopyright © 2019. All rights reserved.