com.sun.ejb.spi.distributed
Class DistributedEJBTimerServiceImpl
java.lang.Object
com.sun.ejb.spi.distributed.DistributedEJBTimerServiceImpl
- All Implemented Interfaces:
- com.sun.enterprise.ee.cms.core.CallBack, RecoveryEventListener, DistributedEJBTimerService, org.jvnet.hk2.component.PostConstruct
@Service
public class DistributedEJBTimerServiceImpl
- extends java.lang.Object
- implements DistributedEJBTimerService, RecoveryEventListener, org.jvnet.hk2.component.PostConstruct, com.sun.enterprise.ee.cms.core.CallBack
|
Method Summary |
void |
afterRecovery(boolean success,
boolean delegated,
java.lang.String instance)
|
void |
beforeRecovery(boolean delegated,
java.lang.String instance)
|
java.lang.String[] |
listTimers(java.lang.String[] serverIds)
|
int |
migrateTimers(java.lang.String serverId)
--------------------------------------------------------------
Methods implemented for DistributedEJBTimerService
-------------------------------------------------------------- |
void |
postConstruct()
|
void |
processNotification(com.sun.enterprise.ee.cms.core.Signal signal)
|
void |
setPerformDBReadBeforeTimeout(boolean defaultDBReadValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedEJBTimerServiceImpl
public DistributedEJBTimerServiceImpl()
postConstruct
public void postConstruct()
- Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct
processNotification
public void processNotification(com.sun.enterprise.ee.cms.core.Signal signal)
- Specified by:
processNotification in interface com.sun.enterprise.ee.cms.core.CallBack
beforeRecovery
public void beforeRecovery(boolean delegated,
java.lang.String instance)
- Specified by:
beforeRecovery in interface RecoveryEventListener
afterRecovery
public void afterRecovery(boolean success,
boolean delegated,
java.lang.String instance)
- Specified by:
afterRecovery in interface RecoveryEventListener
migrateTimers
public int migrateTimers(java.lang.String serverId)
- --------------------------------------------------------------
Methods implemented for DistributedEJBTimerService
--------------------------------------------------------------
- Specified by:
migrateTimers in interface DistributedEJBTimerService
listTimers
public java.lang.String[] listTimers(java.lang.String[] serverIds)
- Specified by:
listTimers in interface DistributedEJBTimerService
setPerformDBReadBeforeTimeout
public void setPerformDBReadBeforeTimeout(boolean defaultDBReadValue)
- Specified by:
setPerformDBReadBeforeTimeout in interface DistributedEJBTimerService
Copyright © 2012 GlassFish Community. All Rights Reserved.