Interface RecoveryEventListener
-
- All Known Implementing Classes:
DatabaseEJBTimerService
public interface RecoveryEventListener
Interface implemented by the consumers that are interested in recovery start and end events- Since:
- 3.1
- Author:
- Marina Vatkina
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterRecovery(boolean success, boolean delegated, String instance)
Indicate to the listener that recovery is over.void
beforeRecovery(boolean delegated, String instance)
Indicate to the listener that recovery for a specific instance is about to start.
-
-
-
Method Detail
-
beforeRecovery
void beforeRecovery(boolean delegated, String instance)
Indicate to the listener that recovery for a specific instance is about to start.- Parameters:
delegated
- identifies whether it is part of a delegated transaction recoveryinstance
- the instance name for which transaction recovery is performed, null if unknown
-
afterRecovery
void afterRecovery(boolean success, boolean delegated, String instance)
Indicate to the listener that recovery is over.- Parameters:
success
-true
if the recovery operation finished successfullydelegated
- identifies whether it is part of a delegated transaction recoveryinstance
- the instance name for which transaction recovery is performed, null if unknown
-
-