Interface ExtendedTimerService
- All Superinterfaces:
jakarta.ejb.TimerService
public interface ExtendedTimerService
extends jakarta.ejb.TimerService
WildFly specific extension of
TimerService that allows querying
EJB timers by their external identifier.- Author:
- Tomasz Adamski
-
Method Summary
Modifier and TypeMethodDescriptionCollection<jakarta.ejb.Timer> getTimersByExternalId(String externalId) Returns all active timers associated with the specified external identifier.Methods inherited from interface jakarta.ejb.TimerService
createCalendarTimer, createCalendarTimer, createIntervalTimer, createIntervalTimer, createSingleActionTimer, createSingleActionTimer, createTimer, createTimer, createTimer, createTimer, getAllTimers, getTimers
-
Method Details
-
getTimersByExternalId
Returns all active timers associated with the specified external identifier.- Parameters:
externalId- the external identifier to search for- Returns:
- a collection of active timers, or an empty list if none are found
-