Interface ServiceReadinessCheck
public interface ServiceReadinessCheck
Strategy used to check if a
RunningService
is ready. Implementations may be
registered in spring.factories
. The following constructor arguments types are
supported:
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(RunningService service) Checks whether the givenservice
is ready.
-
Method Details
-
check
Checks whether the givenservice
is ready.- Parameters:
service
- service to check- Throws:
ServiceNotReadyException
- if the service is not ready
-