public abstract class AbstractRoundTask extends AbstractRetryTask
| 构造器和说明 |
|---|
AbstractRoundTask(java.lang.String key,
long delayMs)
Instantiates a new Timer task.
|
public AbstractRoundTask(java.lang.String key,
long delayMs)
key - the keydelayMs - the delay mspublic void run(TaskEntity taskEntity)
TimerTaskrun 在类中 AbstractRetryTasktaskEntity - the task entityprotected void doRetry(java.lang.String key,
TimerTask timerTask)
doRetry 在类中 AbstractRetryTaskkey - the keytimerTask - the timer taskpublic abstract void doRun(java.lang.String key,
TimerTask timerTask)
key - the keytimerTask - the timer taskCopyright © 2022 The Apache Software Foundation. All rights reserved.