非事务环境调用。用于启动Timer服务。
()
| 129 | * 非事务环境调用。用于启动Timer服务。 |
| 130 | */ |
| 131 | public void start() throws Exception { |
| 132 | lock(); |
| 133 | try { |
| 134 | if (started) |
| 135 | return; |
| 136 | started = true; |
| 137 | var hotManager = zeze.getHotManager(); |
| 138 | if (hotManager != null) { |
| 139 | hotManager.addHotBeanFactory(this); |
| 140 | beanFactory.registerWatch(this::tryRecordHotModule); |
| 141 | } |
| 142 | // Task.run(this::loadTimer, "Timer.loadTimer"); |
| 143 | loadTimer(); |
| 144 | } finally { |
| 145 | unlock(); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * 初始化在线Timer。在线Timer需要ProviderApp。 |
nothing calls this directly
no test coverage detected