| Package | Description |
|---|---|
| org.apache.shenyu.common.timer |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRetryTask
AbstractRetryTask .
|
class |
AbstractRoundTask
AbstractRoundTask .
|
| Modifier and Type | Method and Description |
|---|---|
TimerTask |
TaskEntity.getTimerTask()
Gets timer task.
|
TimerTask |
TimerTaskList.TimerTaskEntry.getTimerTask()
Gets timer task.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<TimerTask> |
TimerTaskList.iterator()
Using Iterator is not thread safe.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HierarchicalWheelTimer.add(TimerTask timerTask) |
void |
Timer.add(TimerTask timerTask)
Add timer task.
|
protected abstract void |
AbstractRetryTask.doRetry(java.lang.String key,
TimerTask timerTask)
Do retry.
|
protected void |
AbstractRoundTask.doRetry(java.lang.String key,
TimerTask timerTask)
Do retry.
|
abstract void |
AbstractRoundTask.doRun(java.lang.String key,
TimerTask timerTask)
Do timer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TimerTaskList.foreach(java.util.function.Consumer<TimerTask> consumer)
Traversing using this is thread-safe.
|
| Constructor and Description |
|---|
TimerTaskEntry(Timer timer,
TimerTask timerTask,
java.lang.Long expirationMs)
Instantiates a new Timer task entry.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.