public class GlobalTimerService extends TimerService
TimerService.CancelHandle| Constructor and Description |
|---|
GlobalTimerService(String _managerName,
int _threadCount) |
| Modifier and Type | Method and Description |
|---|---|
TimerService.CancelHandle |
add(TimerListener l,
long t)
Add a timer that fires at the specified time.
|
<T> TimerService.CancelHandle |
add(TimerPayloadListener<T> l,
T _payload,
long t) |
long |
getCancelCount() |
long |
getEventsDelivered() |
long |
getEventsScheduled() |
long |
getFireExceptionCount() |
static TimerService |
getInstance() |
long |
getPurgeCount() |
int |
getQueueSize()
Return the tasks in the timer queue including the cancelled.
|
public GlobalTimerService(String _managerName, int _threadCount)
public static TimerService getInstance()
public <T> TimerService.CancelHandle add(TimerPayloadListener<T> l, T _payload, long t)
add in class TimerServicepublic TimerService.CancelHandle add(TimerListener l, long t)
TimerServiceadd in class TimerServicepublic int getQueueSize()
TimerServicegetQueueSize in class TimerServicepublic long getEventsDelivered()
getEventsDelivered in class TimerServicepublic long getEventsScheduled()
getEventsScheduled in class TimerServicepublic long getPurgeCount()
getPurgeCount in class TimerServicepublic long getCancelCount()
getCancelCount in class TimerServicepublic long getFireExceptionCount()
getFireExceptionCount in class TimerServicecache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.