public static class EJBTimerService.TimerCache extends Object
| Constructor and Description |
|---|
TimerCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimer(TimerPrimaryKey timerId,
RuntimeTimerState timerState) |
boolean |
containerHasTimers(long containerId) |
boolean |
entityBeanHasTimers(long containerId,
Object pkey) |
Set<TimerPrimaryKey> |
getNonPersistentActiveTimerIdsByThisServer() |
Set<TimerPrimaryKey> |
getNonPersistentActiveTimerIdsForContainer(long containerId_) |
Set<TimerPrimaryKey> |
getNonPersistentTimerIdsForContainer(long containerId_) |
RuntimeTimerState |
getNonPersistentTimerState(TimerPrimaryKey timerId) |
RuntimeTimerState |
getTimerState(TimerPrimaryKey timerId) |
void |
removeTimer(TimerPrimaryKey timerId)
Remove a timer from the cache.
|
void |
validate() |
public void addTimer(TimerPrimaryKey timerId, RuntimeTimerState timerState)
public void removeTimer(TimerPrimaryKey timerId)
public RuntimeTimerState getTimerState(TimerPrimaryKey timerId)
public RuntimeTimerState getNonPersistentTimerState(TimerPrimaryKey timerId)
public boolean entityBeanHasTimers(long containerId,
Object pkey)
public boolean containerHasTimers(long containerId)
public void validate()
public Set<TimerPrimaryKey> getNonPersistentTimerIdsForContainer(long containerId_)
public Set<TimerPrimaryKey> getNonPersistentActiveTimerIdsForContainer(long containerId_)
public Set<TimerPrimaryKey> getNonPersistentActiveTimerIdsByThisServer()
Copyright © 2019. All rights reserved.