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 TypeMethodDescriptionvoidcheck(RunningService service) Checks whether the givenserviceis ready.
-
Method Details
-
check
Checks whether the givenserviceis ready.- Parameters:
service- service to check- Throws:
ServiceNotReadyException- if the service is not ready
-