@Service public class DatabaseEJBTimerService extends Object implements PersistentTimerService, RecoveryEventListener, org.glassfish.hk2.api.PostConstruct, ClusterListener
| Constructor and Description |
|---|
DatabaseEJBTimerService() |
| Modifier and Type | Method and 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.
|
void |
initPersistentTimerService(String target) |
void |
memberAdded(MemberEvent event) |
void |
memberRemoved(MemberEvent event) |
void |
postConstruct() |
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void initPersistentTimerService(String target)
initPersistentTimerService in interface PersistentTimerServicepublic void beforeRecovery(boolean delegated,
String instance)
RecoveryEventListenerbeforeRecovery in interface RecoveryEventListenerdelegated - identifies whether it is part of a delegated transaction recoveryinstance - the instance name for which transaction recovery is performed, null if unknownpublic void afterRecovery(boolean success,
boolean delegated,
String instance)
RecoveryEventListenerafterRecovery in interface RecoveryEventListenersuccess - 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 unknownpublic void memberAdded(MemberEvent event)
memberAdded in interface ClusterListenerpublic void memberRemoved(MemberEvent event)
memberRemoved in interface ClusterListenerCopyright © 2019. All rights reserved.