接口 RestartInitializer
- 所有已知实现类:
DefaultRestartInitializer
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Strategy interface used to initialize a
Restarter
.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
- 另请参阅:
-
字段概要
字段 -
方法概要
修饰符和类型方法说明URL[]
getInitialUrls
(Thread thread) Return the initial set of URLs for theRestarter
ornull
if no initial restart is required.
-
字段详细资料
-
NONE
RestartInitializer
that doesn't return any URLs.
-
-
方法详细资料
-
getInitialUrls
Return the initial set of URLs for theRestarter
ornull
if no initial restart is required.- 参数:
thread
- the source thread- 返回:
- initial URLs or
null
-