public class TaskLauncherManager extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected List<TaskLauncher> |
launchers
启动器列表
|
protected Scheduler |
scheduler |
Constructor and Description |
---|
TaskLauncherManager(Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
protected void |
notifyLauncherCompleted(TaskLauncher launcher)
启动器启动完毕,启动完毕后从执行器列表中移除
|
protected TaskLauncher |
spawnLauncher(long millis)
启动 TaskLauncher
|
protected Scheduler scheduler
protected final List<TaskLauncher> launchers
public TaskLauncherManager(Scheduler scheduler)
protected TaskLauncher spawnLauncher(long millis)
millis
- 触发事件的毫秒数TaskLauncher
protected void notifyLauncherCompleted(TaskLauncher launcher)
launcher
- 启动器 TaskLauncher
Copyright © 2024. All rights reserved.