Interface RestartInitializer
- All Known Implementing Classes:
DefaultRestartInitializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface used to initialize a
Restarter
.- Since:
- 1.3.0
- Author:
- Phillip Webb
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RestartInitializer
RestartInitializer
that doesn't return any URLs. -
Method Summary
Modifier and TypeMethodDescriptionURL[]
getInitialUrls
(Thread thread) Return the initial set of URLs for theRestarter
ornull
if no initial restart is required.
-
Field Details
-
NONE
RestartInitializer
that doesn't return any URLs.
-
-
Method Details
-
getInitialUrls
Return the initial set of URLs for theRestarter
ornull
if no initial restart is required.- Parameters:
thread
- the source thread- Returns:
- initial URLs or
null
-