public interface TimerPersistence
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimer(TimerImpl timer)
Called when a timer is being persisted
|
List<TimerImpl> |
loadActiveTimers(String timedObjectId,
TimerServiceImpl timerService)
Load all active timers for the given object.
|
void |
persistTimer(TimerImpl timer)
Called when a timer is being persisted
|
void |
timerUndeployed(String timedObjectId)
Signals that a timer is being undeployed, and all cached data relating to this object should
be dropped to prevent a class loader leak
|
void addTimer(TimerImpl timer)
timerEntity - void persistTimer(TimerImpl timer)
timerEntity - void timerUndeployed(String timedObjectId)
timedObjectId - List<TimerImpl> loadActiveTimers(String timedObjectId, TimerServiceImpl timerService)
timedObjectId - The timed object id to load timers forCopyright © 2014 JBoss by Red Hat. All rights reserved.