K - Type of the timeout keypublic interface TimeoutListener<K>
TimerService.| 限定符和类型 | 方法和说明 |
|---|---|
void |
notifyTimeout(K key,
UUID ticket)
Notify the listener about the timeout for an event identified by key.
|
void notifyTimeout(K key, UUID ticket)
key - identifying the timed out eventticket - used to check whether the timeout is still validCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.