K - type of the timer keypublic interface TimerRegistry<K>
TimerFunction for details.| Modifier and Type | Method and Description | 
|---|---|
| void | delete(K key)Delete the timer for the provided key. | 
| void | register(K key,
        long timestamp)Register a epoch-time timer with key. | 
void register(K key, long timestamp)
key - unique timer keytimestamp - epoch time when the timer will be fired, in millisecondsvoid delete(K key)
key - key for the timer to delete